File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,7 @@ import {
6
6
HourglassTopFilledIcon ,
7
7
} from '@navikt/aksel-icons' ;
8
8
import React , { ReactElement , useState } from 'react' ;
9
- import {
10
- AktivitetskravStatus ,
11
- oppfolgingsgrunnToString ,
12
- } from '@/api/types/personoversiktTypes' ;
9
+ import { AktivitetskravStatus } from '@/api/types/personoversiktTypes' ;
13
10
import { Button , Table , Tooltip } from '@navikt/ds-react' ;
14
11
import OppfolgingsoppgaveModal from '@/components/OppfolgingsoppgaveModal' ;
15
12
import * as Amplitude from '@/utils/amplitude' ;
@@ -106,7 +103,9 @@ function fristerInfo(
106
103
) ,
107
104
date : oppfolgingsoppgave . frist ,
108
105
tooltip : `${
109
- oppfolgingsgrunnToString [ oppfolgingsoppgave . oppfolgingsgrunn ]
106
+ selectedTab === OverviewTabType . MY_OVERVIEW
107
+ ? 'Åpne oppfølgingsoppgave'
108
+ : 'Oppfølgingsoppgave frist'
110
109
} `,
111
110
} ) ;
112
111
}
Original file line number Diff line number Diff line change @@ -516,7 +516,7 @@ export const personoversiktEnhetMock: PersonOversiktStatusDTO[] = [
516
516
} ,
517
517
] ,
518
518
} ,
519
- oppfolgingsoppgave : null ,
519
+ oppfolgingsoppgave : getOppfolgingsoppgave ( new Date ( '2024-01-01' ) ) ,
520
520
latestOppfolgingstilfelle : {
521
521
oppfolgingstilfelleStart : new Date ( '2022-01-01' ) ,
522
522
oppfolgingstilfelleEnd : new Date ( '2022-12-31' ) ,
You can’t perform that action at this time.
0 commit comments