Skip to content

Commit 0585e04

Browse files
committed
- Viser når ident er opprettet fra Tenor i bestillingStatusMapper
#deploy-test-frontend
1 parent f5f970b commit 0585e04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/dolly-frontend/src/main/js/src/ducks/bestillingStatus/bestillingStatusMapper.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ const extractBestillingstatusKode = (
8383
}
8484

8585
function getBestillingTag(data: Bestilling) {
86+
if (data?.status?.filter((status) => status.id === 'PDLIMPORT')?.length > 0)
87+
return 'Import (Tenor)'
8688
if (data?.bestilling?.pdldata?.opprettNyPerson) return 'Ny bestilling'
8789
if (data?.opprettetFraId) return 'Gjenopprett bestilling'
8890
if (data?.gjenopprettetFraIdent) return 'Gjenopprett person'

0 commit comments

Comments
 (0)