Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ffe-tables-react): onSort ble ikke kalt ved initiell sortering #1536

Merged
merged 1 commit into from
Dec 7, 2022

Conversation

mortenk
Copy link

@mortenk mortenk commented Dec 6, 2022

onSort ble bare kalt ved klikk på header, ikke ved initiell sortering av prop sortBy
Dette begrenser nytten av onSort sortBy

Beskrivelse

Kaller sortBy hver gang innholdet sorteres, i stedet for hver gang header klikkes

Motivasjon og kontekst

Vi ønsker å bruke sortert tabelldata fra en callback

Testing

Har skrevet en test for caset

@mortenk mortenk requested a review from a team as a code owner December 6, 2022 14:09
@kwltrs kwltrs merged commit 4724513 into SpareBank1:develop Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants