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

Add possibility to add multiple grep codes with comma as separator #2818

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

katrinewi
Copy link
Contributor

No description provided.

@katrinewi katrinewi requested a review from a team January 9, 2025 12:09
@gunnarvelle
Copy link
Member

Det funker men kodene du skreiv inn blir stående i tekstfeltet.

@katrinewi
Copy link
Contributor Author

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?

}, [] as string[]);
if (!addedGrepCodes.length) return;

const grepPromises = addedGrepCodes.map(async (v) => await fetchGrepCodeTitles(v));
Copy link
Contributor

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?

Copy link
Contributor Author

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å!

@katrinewi katrinewi requested a review from Jonas-C January 10, 2025 12:13
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.

3 participants