Skip to content

Commit ec3a90a

Browse files
committed
Fix A-melding inntektstub skriv inn orgNr bug
#deploy-test-frontend
1 parent e3ebcd9 commit ec3a90a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/dolly-frontend/src/main/js/src/components/organisasjonSelect/OrganisasjonMedMiljoeSelect.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ export const OrganisasjonMedMiljoeSelect = ({
2727
}: OrgProps) => {
2828
const options =
2929
miljoeOptions &&
30-
miljoeOptions?.Q?.concat(miljoeOptions?.T)?.map((value: { id: string; label: string }) => ({
31-
value: value.id,
32-
label: value.label,
30+
miljoeOptions?.Q?.map((value: { id: string; label: string }) => ({
31+
value: value?.id,
32+
label: value?.label,
3333
}))
3434

3535
return (

0 commit comments

Comments
 (0)