Skip to content

Commit

Permalink
Kodeverk: unngå undefined property (#6541)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashwi authored Sep 4, 2024
1 parent 1a9d9cf commit c67fca5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const TotrinnskontrollSaksbehandlerPanel = ({
<span>
<Image src={avslattImg} className={styles.image} />
</span>
<span>{vurderArsaker.find(arsak => item === arsak.kode).navn}</span>
<span>{vurderArsaker.find(arsak => item === arsak.kode)?.navn || '-'}</span>
</div>
))}
</div>
Expand Down

0 comments on commit c67fca5

Please sign in to comment.