Skip to content

Commit 1273cfc

Browse files
committed
- Fix for BVOptions som overskrev bestillingsType til Mal
#deploy-test-frontend
1 parent 6c5c7e5 commit 1273cfc

File tree

1 file changed

+3
-1
lines changed
  • apps/dolly-frontend/src/main/js/src/components/bestillingsveileder/options

1 file changed

+3
-1
lines changed

apps/dolly-frontend/src/main/js/src/components/bestillingsveileder/options/options.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,9 @@ export const BVOptions = (
121121
}
122122

123123
if (mal) {
124-
bestType = TYPE.NY_BESTILLING_FRA_MAL
124+
if (bestType === TYPE.NY_BESTILLING) {
125+
bestType = TYPE.NY_BESTILLING_FRA_MAL
126+
}
125127
initialValues = {
126128
...initialValuesBasedOnMal(mal, dollyEnvironments),
127129
...initialValues,

0 commit comments

Comments
 (0)