CSR-2294 saving a null to zipCodeCtu breaks quote prereq
CSR-2294 saving a null to zipCodeCtu breaks quote prereq
This commit is contained in:
parent
78ccdb8250
commit
1368a460f5
1 changed files with 4 additions and 2 deletions
|
|
@ -57,12 +57,14 @@ export default {
|
|||
vm.setCmsContent(resultMap.cmsContent);
|
||||
if (store.getters.externalParameterState?.isExternalParameter) {
|
||||
if (store.getters.externalParameterServiceZip.zipCode) {
|
||||
const serviceState = store.getters.order.serviceLocation.state;
|
||||
const serviceZipCtu = store.getters.order.serviceLocation.zipCodeCtu;
|
||||
await baseMixin.methods.dispatchStoreAction(
|
||||
storeActions.SAVE_SERVICE_ZIP_CODE_INFO,
|
||||
{
|
||||
zipCode: store.getters.externalParameterServiceZip.zipCode,
|
||||
state: null,
|
||||
zipCodeCtu: null,
|
||||
state: serviceState ?? null,
|
||||
zipCodeCtu: serviceZipCtu ?? null,
|
||||
},
|
||||
false
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue