Skip to content

Commit

Permalink
Fix condition for checking outdated claim basis in
Browse files Browse the repository at this point in the history
getSakvarsler function for kravgrunnlag
  • Loading branch information
ramnav990 committed Nov 16, 2023
1 parent ad2f9ae commit a457de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/SakUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const getSakvarsler = (arg: { sak: Sak; søker: Person }): SakvarseltypeM

if (arg.sak.tilbakekrevinger.length > 0) {
arg.sak.tilbakekrevinger.filter(erTilbakekrevingsbehandlingÅpen).forEach((t) => {
if (!t.erKravgrunnlagUtdatert) {
if (t.erKravgrunnlagUtdatert) {
varsel.push({
type: SakvarselType.NYTT_KRAVGRUNNLAG_MED_ÅPEN_TILBAKEKREVING,
context: { behandlingId: t.id },
Expand Down

0 comments on commit a457de8

Please sign in to comment.