use zip and state from serviceLocation if available
This commit is contained in:
parent
0c614601ec
commit
e8e26ed0d1
1 changed files with 2 additions and 3 deletions
|
|
@ -369,11 +369,10 @@ export default {
|
|||
return useMainStore().order.serviceLocation.city;
|
||||
},
|
||||
getServiceStateFromStore() {
|
||||
return useMainStore().order.serviceLocation.state;
|
||||
return useMainStore().order.serviceLocation.state || useMainStore().order.customer.address.state;
|
||||
},
|
||||
getServiceZipCodeFromStore() {
|
||||
return useMainStore().order.customer.address.zipCode;
|
||||
// return useMainStore().order.serviceLocation.zipCode;
|
||||
return useMainStore().order.serviceLocation.zipCode || useMainStore().order.customer.address.zipCode;
|
||||
},
|
||||
getIsVehicleProtectedFromStore() {
|
||||
return useMainStore().order.serviceLocation.isVehicleProtected;
|
||||
|
|
|
|||
Loading…
Reference in a new issue