From 14f21a9032b377ebe3783b672fd47f3384c568e6 Mon Sep 17 00:00:00 2001 From: Betsy Carina Traran Date: Thu, 9 Jan 2025 16:28:11 +0100 Subject: [PATCH] Fiks visning av sykemelding --- .../sykdom/bestilling/Sykemelding.tsx | 48 +++++++++++-------- .../tjenestepensjon/form/TPForm.less | 6 --- .../uforetrygd/bestilling/Uforetrygd.tsx | 8 ++-- 3 files changed, 33 insertions(+), 29 deletions(-) diff --git a/apps/dolly-frontend/src/main/js/src/components/fagsystem/sykdom/bestilling/Sykemelding.tsx b/apps/dolly-frontend/src/main/js/src/components/fagsystem/sykdom/bestilling/Sykemelding.tsx index 21875557652..5633a0f33cc 100644 --- a/apps/dolly-frontend/src/main/js/src/components/fagsystem/sykdom/bestilling/Sykemelding.tsx +++ b/apps/dolly-frontend/src/main/js/src/components/fagsystem/sykdom/bestilling/Sykemelding.tsx @@ -67,9 +67,9 @@ export const Sykemelding = ({ sykemelding }: SykemeldingProps) => { {detaljertSykemelding?.biDiagnoser?.length > 0 && ( {(diagnose: Diagnose, idx: number) => ( -
+ -
+ )}
)} @@ -125,7 +125,7 @@ export const Sykemelding = ({ sykemelding }: SykemeldingProps) => { {detaljertSykemelding.perioder?.length > 0 && ( {(periode: Periode, idx: number) => ( -
+ @@ -138,25 +138,35 @@ export const Sykemelding = ({ sykemelding }: SykemeldingProps) => { title="Har reisetilskudd" value={oversettBoolean(periode?.aktivitet?.reisetilskudd)} /> -
+ )}
)} - - - - - - + {!isEmpty(detaljertSykemelding.detaljer) && ( + <> + Detaljer + + + + + + + + )} )} diff --git a/apps/dolly-frontend/src/main/js/src/components/fagsystem/tjenestepensjon/form/TPForm.less b/apps/dolly-frontend/src/main/js/src/components/fagsystem/tjenestepensjon/form/TPForm.less index 618d3920fad..00468f5fddb 100644 --- a/apps/dolly-frontend/src/main/js/src/components/fagsystem/tjenestepensjon/form/TPForm.less +++ b/apps/dolly-frontend/src/main/js/src/components/fagsystem/tjenestepensjon/form/TPForm.less @@ -6,13 +6,7 @@ position: relative; } - .navds-date .rdp-button { position: unset; } - - && .navds-button { - position: unset; - } - } \ No newline at end of file diff --git a/apps/dolly-frontend/src/main/js/src/components/fagsystem/uforetrygd/bestilling/Uforetrygd.tsx b/apps/dolly-frontend/src/main/js/src/components/fagsystem/uforetrygd/bestilling/Uforetrygd.tsx index 39841095752..c7c6cdcf5d4 100644 --- a/apps/dolly-frontend/src/main/js/src/components/fagsystem/uforetrygd/bestilling/Uforetrygd.tsx +++ b/apps/dolly-frontend/src/main/js/src/components/fagsystem/uforetrygd/bestilling/Uforetrygd.tsx @@ -71,8 +71,8 @@ export const Uforetrygd = ({ pensjon }: UforetrygdProps) => { value={showLabel('inntektType', inntekt?.inntektType)} /> - - + + )} @@ -90,8 +90,8 @@ export const Uforetrygd = ({ pensjon }: UforetrygdProps) => { value={showLabel('inntektType', inntekt?.inntektType)} /> - - + + )}