Skip to content

Commit

Permalink
Opprydning
Browse files Browse the repository at this point in the history
  • Loading branch information
betsytraran committed Oct 4, 2023
1 parent 57a1757 commit 8f9b471
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -61,7 +60,6 @@ const createInntektForm = (kodeverk, skatteordning, path) => {
return (
<FormikTextInput name={`${path}.${key}`} key={`${path}.${key}`} label={label} size={size} />
)
//TODO size utifra label length? :)
})
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export const kodeverkKeyToLabel = (key) => {
export const getInitialInntekt = (kodeverk, skatteordning) => {
if (!kodeverk) {
return null
//TODO evt. lag fallback-data
}

const initialInntekt = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 8f9b471

Please sign in to comment.