Skip to content

Commit

Permalink
Merge branch 'master' into cleanup/azure_aad_issuer_uri
Browse files Browse the repository at this point in the history
  • Loading branch information
rfc3092 committed Jan 9, 2025
2 parents 929f910 + 5aa58bf commit d59ed22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ public Flux<ClientFuture> gjenopprett(RsDollyUtvidetBestilling bestilling, Dolly
.flatMapMany(utvidetPersondata ->
Flux.concat(
pensjonPersondataService.lagrePersondata(dollyPerson.getIdent(), utvidetPersondata.getT1(), tilgjengeligeMiljoer),
pensjonPensjonsdataService.lagrePensjonsdata(bestilling1, dollyPerson.getIdent(), tilgjengeligeMiljoer),
pensjonVedtakService.lagrePensjonVedtak(bestilling1, dollyPerson.getIdent(), utvidetPersondata, tilgjengeligeMiljoer)
pensjonPensjonsdataService.lagrePensjonsdata(bestilling1, dollyPerson.getIdent(), bestilteMiljoer.get()),
pensjonVedtakService.lagrePensjonVedtak(bestilling1, dollyPerson.getIdent(), utvidetPersondata, bestilteMiljoer.get())
)))

.timeout(Duration.ofSeconds(applicationConfig.getClientTimeout()))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,14 @@ export const OrgnrToggle = ({
const handleToggleChange = (value: string) => {
setInputType(value)
formMethods.setValue(virksomhetPath, '')
formMethods.clearErrors(`manual.${virksomhetPath}`)
formMethods.clearErrors(virksomhetPath)
}

const handleChangeEgne = (value: { orgnr: string }) => {
formMethods.setValue(virksomhetPath, value.orgnr)
formMethods.clearErrors(`manual.${virksomhetPath}`)
formMethods.clearErrors(virksomhetPath)
}

if (fasteOrganisasjonerLoading || brukerOrganisasjonerLoading) {
Expand Down

0 comments on commit d59ed22

Please sign in to comment.