Skip to content

Commit 2015cb8

Browse files
committed
- Added showLabel to the "ytelse" value in TpYtelse
#deploy-test-frontend
1 parent 58dfee3 commit 2015cb8

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

apps/dolly-frontend/src/main/js/src/components/fagsystem/tjenestepensjon/visning/TpYtelse.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { ErrorBoundary } from '@/components/ui/appError/ErrorBoundary'
77
import { Alert } from '@navikt/ds-react'
88
import { MiljoTabs } from '@/components/ui/miljoTabs/MiljoTabs'
99
import { useBestilteMiljoer } from '@/utils/hooks/useBestilling'
10-
import { formatDate } from '@/utils/DataFormatter'
10+
import { formatDate, showLabel } from '@/utils/DataFormatter'
1111
import { sjekkManglerTpData } from '@/components/fagsystem/tjenestepensjon/visning/TpVisning'
1212

1313
const TpYtelseVisning = ({ data }) => {
@@ -17,7 +17,7 @@ const TpYtelseVisning = ({ data }) => {
1717
<DollyFieldArray data={data} nested>
1818
{(ytelse, idx) => (
1919
<div className="person-visning_content" key={idx}>
20-
<TitleValue title="Type" value={ytelse?.type} />
20+
<TitleValue title="Type" value={showLabel('tjenestepensjonYtelseType', ytelse?.type)} />
2121
<TitleValue title="Dato innmeldt" value={formatDate(ytelse?.datoInnmeldtYtelseFom)} />
2222
<TitleValue
2323
title="Dato iverksatt f.o.m"

0 commit comments

Comments
 (0)