-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add possibility to add multiple grep codes with comma as separator #2818
base: master
Are you sure you want to change the base?
Conversation
Det funker men kodene du skreiv inn blir stående i tekstfeltet. |
Kan godt nullstille innholdet i søkebaren når man klikker enter, men ønsker vi egentlig det? |
Co-authored-by: Gunnar Velle <[email protected]>
}, [] as string[]); | ||
if (!addedGrepCodes.length) return; | ||
|
||
const grepPromises = addedGrepCodes.map(async (v) => await fetchGrepCodeTitles(v)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dette virket ineffektivt. Hvorfor kan vi ikke bare gjøre et søk med alle grepkodene?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Krever litt mer error handling-logikk på klient, men godt poeng! Pushet et forslag nå!
No description provided.