Skip to content

Commit

Permalink
Fiks remove oppholdstillatelse udi
Browse files Browse the repository at this point in the history
  • Loading branch information
betsytraran committed Jan 9, 2025
1 parent bb3aa72 commit e5518dc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ UdiPanel.initialValues = ({ set, setMulti, del, has }) => ({
checked: has('udistub.oppholdStatus'),
add: () =>
setMulti(['udistub.oppholdStatus', {}], ['pdldata.person.opphold', [initialOpphold]]),
remove: () => del(['udistub.oppholdStatus', 'pdldata.person.opphold']),
remove: () =>
del(['udistub.oppholdStatus', 'udistub.harOppholdsTillatelse', 'pdldata.person.opphold']),
},
arbeidsadgang: {
label: 'Arbeidsadgang',
Expand Down

0 comments on commit e5518dc

Please sign in to comment.