From 8f9b4710b8893506a7d0ad531158b11fd46f48aa Mon Sep 17 00:00:00 2001 From: Betsy Carina Traran Date: Wed, 4 Oct 2023 11:15:18 +0200 Subject: [PATCH] Opprydning --- .../form/PensjonsgivendeInntektForm.tsx | 2 -- .../components/fagsystem/sigrunstubPensjonsgivende/utils.tsx | 1 - apps/dolly-frontend/src/main/js/src/ducks/fagsystem/index.tsx | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/dolly-frontend/src/main/js/src/components/fagsystem/sigrunstubPensjonsgivende/form/PensjonsgivendeInntektForm.tsx b/apps/dolly-frontend/src/main/js/src/components/fagsystem/sigrunstubPensjonsgivende/form/PensjonsgivendeInntektForm.tsx index 4af39606599..c1eba1c68e7 100644 --- a/apps/dolly-frontend/src/main/js/src/components/fagsystem/sigrunstubPensjonsgivende/form/PensjonsgivendeInntektForm.tsx +++ b/apps/dolly-frontend/src/main/js/src/components/fagsystem/sigrunstubPensjonsgivende/form/PensjonsgivendeInntektForm.tsx @@ -17,7 +17,6 @@ const getSkatteordningOptions = (skatteordning) => { const createInntektForm = (kodeverk, skatteordning, path) => { if (!kodeverk) { return null - //TODO evt. lag fallback-data eller returner en feilmelding med kontakt dolly } const skatteordningOptions = getSkatteordningOptions(skatteordning) @@ -61,7 +60,6 @@ const createInntektForm = (kodeverk, skatteordning, path) => { return ( ) - //TODO size utifra label length? :) }) } diff --git a/apps/dolly-frontend/src/main/js/src/components/fagsystem/sigrunstubPensjonsgivende/utils.tsx b/apps/dolly-frontend/src/main/js/src/components/fagsystem/sigrunstubPensjonsgivende/utils.tsx index cb4e97693b4..cdc6a57554e 100644 --- a/apps/dolly-frontend/src/main/js/src/components/fagsystem/sigrunstubPensjonsgivende/utils.tsx +++ b/apps/dolly-frontend/src/main/js/src/components/fagsystem/sigrunstubPensjonsgivende/utils.tsx @@ -27,7 +27,6 @@ export const kodeverkKeyToLabel = (key) => { export const getInitialInntekt = (kodeverk, skatteordning) => { if (!kodeverk) { return null - //TODO evt. lag fallback-data } const initialInntekt = {} diff --git a/apps/dolly-frontend/src/main/js/src/ducks/fagsystem/index.tsx b/apps/dolly-frontend/src/main/js/src/ducks/fagsystem/index.tsx index 1bd081aef04..6b9b5d75bb5 100644 --- a/apps/dolly-frontend/src/main/js/src/ducks/fagsystem/index.tsx +++ b/apps/dolly-frontend/src/main/js/src/ducks/fagsystem/index.tsx @@ -252,7 +252,7 @@ export const fetchDataFraFagsystemer = (person, bestillingerById) => (dispatch) success.PDL = 'PDL' success.PDL_FORVALTER = 'PDL_FORVALTER' } - console.log('success: ', success) //TODO - SLETT MEG + Object.keys(success).forEach((system) => { switch (system) { case 'KRRSTUB':