Skip to content

Commit

Permalink
Fjerne begrunnelse på "rot-nivå" (#5482)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashwi authored Dec 20, 2023
1 parent 5d65263 commit 69627f5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export type EnkeltOverstyringUttak = {
export type OverstyringUttakRequest = {
periode: { fom: string; tom: string };
erVilkarOk: boolean;
begrunnelse: string;
gåVidere: boolean;
lagreEllerOppdater: EnkeltOverstyringUttak[];
slett: { id: number | string }[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ const OverstyrUttakForm: React.FC = () => {
handleOverstyringAksjonspunkt({
gåVidere: true,
erVilkarOk: true,
begrunnelse: '',
periode: { fom: '', tom: '' },
lagreEllerOppdater: [],
slett: [],
Expand All @@ -48,7 +47,6 @@ const OverstyrUttakForm: React.FC = () => {
handleOverstyringAksjonspunkt({
erVilkarOk: false,
gåVidere: false,
begrunnelse: '',
periode: { fom: '', tom: '' },
lagreEllerOppdater: [],
slett: [{ id }],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ const OverstyringUttakForm: React.FC<OwnProps> = ({
handleOverstyringAksjonspunkt({
gåVidere: false,
erVilkarOk: false,
begrunnelse: '',
periode: { fom: '', tom: '' }, // MÅ legge til denne inntill videre, hack, for å komme rundt validering i backend
lagreEllerOppdater: [{ ...formaterOverstyring(values) }],
slett: [],
Expand Down

0 comments on commit 69627f5

Please sign in to comment.