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

Lagt til logikken i InnvilgeLæremidler for å implementere at burde m… #651

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Nibeditanav
Copy link
Contributor

…n tvinge til at man må beregne før man klikker på "Lagre vedtak"
@Nibeditanav Nibeditanav requested a review from a team as a code owner December 19, 2024 14:07
@@ -96,6 +102,9 @@ export const InnvilgeLæremidler: React.FC<{
>
Lagre vedtak og gå videre
</StegKnapp>
{visHarIkkeBeregnetFeilmelding && (
<ErrorMessage>{'Har uberenget data, vennligst ferdigstill'}</ErrorMessage>
Copy link
Contributor

@runska runska Jan 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ikke nødvendig, men jeg tenker at vi gjerne kan skrive en enda tydeligere feilmelding, f.eks.

Suggested change
<ErrorMessage>{'Har uberenget data, vennligst ferdigstill'}</ErrorMessage>
<ErrorMessage>{'Du må beregne før du kan gå videre'}</ErrorMessage>

@runska
Copy link
Contributor

runska commented Jan 2, 2025

Det hadde vært fint hvis feilmeldingen ble fjernet ettet at jeg har beregnet 🙂
image

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