-
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
Dynamisk g vedtaksbrev #2587
Dynamisk g vedtaksbrev #2587
Conversation
…rukt for å sette seks G.
@@ -0,0 +1,37 @@ | |||
import { Ressurs } from '@navikt/familie-typer'; |
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.
Mangler en "n" i filnavnet (Grunbeløp)
…n useHentNyesteGrunnbeløpOgAntallGrunnbeløpsperioderTilbakeITid.
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.
LGTM
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Hvorfor er denne endringen nødvendig? ✨
Henter grunnbeløp fra et endtepunkt i backend navikt/familie-ef-sak#2435
Har laget en hook for å hente en liste med grunnbeløpsperioder. Denne brukes to steder. Først for å sette 6 ganger grunnbeløpet i Sanity, også har den tatt over for en hardkodet liste i GrunnbeløpInfo. Det vil bli enklere å holde grunnbeløp oppdatert, da dette kun skal sette i backend fremover.
Favro: https://favro.com/organization/98c34fb974ce445eac854de0/a64c6aad9b0d61ef6c0290bd?card=NAV-14507