File tree 1 file changed +2
-2
lines changed
apps/dolly-frontend/src/main/js/src/components/fagsystem/tjenestepensjon/visning
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { ErrorBoundary } from '@/components/ui/appError/ErrorBoundary'
7
7
import { Alert } from '@navikt/ds-react'
8
8
import { MiljoTabs } from '@/components/ui/miljoTabs/MiljoTabs'
9
9
import { useBestilteMiljoer } from '@/utils/hooks/useBestilling'
10
- import { formatDate } from '@/utils/DataFormatter'
10
+ import { formatDate , showLabel } from '@/utils/DataFormatter'
11
11
import { sjekkManglerTpData } from '@/components/fagsystem/tjenestepensjon/visning/TpVisning'
12
12
13
13
const TpYtelseVisning = ( { data } ) => {
@@ -17,7 +17,7 @@ const TpYtelseVisning = ({ data }) => {
17
17
< DollyFieldArray data = { data } nested >
18
18
{ ( ytelse , idx ) => (
19
19
< div className = "person-visning_content" key = { idx } >
20
- < TitleValue title = "Type" value = { ytelse ?. type } />
20
+ < TitleValue title = "Type" value = { showLabel ( 'tjenestepensjonYtelseType' , ytelse ?. type ) } />
21
21
< TitleValue title = "Dato innmeldt" value = { formatDate ( ytelse ?. datoInnmeldtYtelseFom ) } />
22
22
< TitleValue
23
23
title = "Dato iverksatt f.o.m"
You can’t perform that action at this time.
0 commit comments