Skip to content

Commit

Permalink
IS-2791: Edit tooltip oppfølgingsoppgave (#548)
Browse files Browse the repository at this point in the history
  • Loading branch information
ingring authored Nov 22, 2024
1 parent f75d4c4 commit d82a9a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions src/components/FristDataCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ import {
HourglassTopFilledIcon,
} from '@navikt/aksel-icons';
import React, { ReactElement, useState } from 'react';
import {
AktivitetskravStatus,
oppfolgingsgrunnToString,
} from '@/api/types/personoversiktTypes';
import { AktivitetskravStatus } from '@/api/types/personoversiktTypes';
import { Button, Table, Tooltip } from '@navikt/ds-react';
import OppfolgingsoppgaveModal from '@/components/OppfolgingsoppgaveModal';
import * as Amplitude from '@/utils/amplitude';
Expand Down Expand Up @@ -106,7 +103,9 @@ function fristerInfo(
),
date: oppfolgingsoppgave.frist,
tooltip: `${
oppfolgingsgrunnToString[oppfolgingsoppgave.oppfolgingsgrunn]
selectedTab === OverviewTabType.MY_OVERVIEW
? 'Åpne oppfølgingsoppgave'
: 'Oppfølgingsoppgave frist'
}`,
});
}
Expand Down
2 changes: 1 addition & 1 deletion src/mocks/data/personoversiktEnhetMock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ export const personoversiktEnhetMock: PersonOversiktStatusDTO[] = [
},
],
},
oppfolgingsoppgave: null,
oppfolgingsoppgave: getOppfolgingsoppgave(new Date('2024-01-01')),
latestOppfolgingstilfelle: {
oppfolgingstilfelleStart: new Date('2022-01-01'),
oppfolgingstilfelleEnd: new Date('2022-12-31'),
Expand Down

0 comments on commit d82a9a6

Please sign in to comment.