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

Angre send til beslutter knapp #1764

Merged
merged 9 commits into from
May 22, 2024
Merged

Conversation

gunnsteingarmo
Copy link
Contributor

@gunnsteingarmo gunnsteingarmo commented May 2, 2024

Laget en knapp som vises når status på en behandling er 'Fatter vedtak'. Når knappen trykkes gjøres det et kall mot backend og status og steg på behandlingen endres.

PR til backend

Oppgave i Favro

Knappen vises når status på behandligen er "fatter vedtak"
image

Etter at "Angre sendt til beslutter" er trykket:
image

…k'. Når knappen trykkes gjøres det et kall mot backend og status og steg på behandlingen endres.
Comment on lines 199 to 206
} else if (
res.status === RessursStatus.FEILET ||
res.status === RessursStatus.FUNKSJONELL_FEIL ||
res.status === RessursStatus.IKKE_TILGANG
) {
settFeilmelding(res.frontendFeilmelding);
} else {
settFeilmelding('Ukjent feil ved angre send til beslutter');
Copy link
Contributor

Choose a reason for hiding this comment

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

Kan vi bytte dette med:

else {
  settFeilmelding(hentFrontendFeilmelding(res) ?: "Ukjent feil ved angre send til beslutter")
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@gunnsteingarmo gunnsteingarmo changed the title Laget en knapp som vises når status på en behandling er 'Fatter vedta… Angre send til beslutter knapp May 21, 2024
@gunnsteingarmo gunnsteingarmo merged commit 78a785a into main May 22, 2024
5 checks passed
@gunnsteingarmo gunnsteingarmo deleted the angre-send-til-beslutter branch May 22, 2024 10:39
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.

None yet

3 participants