Skip to content

Commit

Permalink
Fiks feilende kreveroppfolging-status
Browse files Browse the repository at this point in the history
  • Loading branch information
Oddsor committed Jan 28, 2025
1 parent 4e79f77 commit 466a0d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AvtaleSide/AvtaleStatus/VeilederAvtaleStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function VeilederAvtaleStatus(props: Props) {
const { avtale } = props;
const { overtaAvtale } = useContext(AvtaleContext);

const kreverOppfølging = !erNil(avtale.kreverOppfolgingFom) && !isBefore(avtale.kreverOppfolgingFom, new Date());
const kreverOppfølging = !erNil(avtale.kreverOppfolgingFom) && isBefore(avtale.kreverOppfolgingFom, new Date());

const skalViseReturnertTilskuddsperiode =
avtale.godkjentAvVeileder &&
Expand Down

0 comments on commit 466a0d7

Please sign in to comment.