Skip to content

Commit

Permalink
chain
Browse files Browse the repository at this point in the history
  • Loading branch information
andersrognstad committed Jan 28, 2025
1 parent e943342 commit 9c99fa7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function OppfolgingsoppgaveModal({
{texts.oppfolgingsgrunn}
</Label>
<BodyShort className="mb-4">
{oppfolgingsgrunnToString[oppfolgingsoppgave.oppfolgingsgrunn].long}
{oppfolgingsgrunnToString[oppfolgingsoppgave.oppfolgingsgrunn]?.long}
</BodyShort>
<BodyLong className="mb-4 whitespace-pre-wrap">
{oppfolgingsoppgave.tekst}
Expand Down
2 changes: 1 addition & 1 deletion src/utils/hendelseColumnUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export function getHendelser(personData: PersonData): string[] {
if (personData.oppfolgingsoppgave) {
const oppfolgingsgrunn =
oppfolgingsgrunnToString[personData.oppfolgingsoppgave.oppfolgingsgrunn]
.short;
?.short;
hendelser.push(`Oppf.oppgave - ${oppfolgingsgrunn ?? ''}`);
}
if (personData.harOppfolgingsplanLPSBistandUbehandlet) {
Expand Down

0 comments on commit 9c99fa7

Please sign in to comment.