CASH-816
formatting
This commit is contained in:
parent
b5562ee714
commit
2c1bbff8af
1 changed files with 7 additions and 5 deletions
|
|
@ -1612,18 +1612,20 @@ export default {
|
|||
this.shopProviderData.mobileProviderNumber
|
||||
);
|
||||
this.isMobileSelected = true;
|
||||
}
|
||||
else if(newValue === AppointmentTypeStrings.DROP_OFF || newValue === AppointmentTypeStrings.IN_SHOP || newValue === AppointmentTypeStrings.IN_SHOP_OR_DROP_OFF) {
|
||||
} else if (
|
||||
newValue === AppointmentTypeStrings.DROP_OFF ||
|
||||
newValue === AppointmentTypeStrings.IN_SHOP ||
|
||||
newValue === AppointmentTypeStrings.IN_SHOP_OR_DROP_OFF
|
||||
) {
|
||||
const providerExists = this.shopProviderData.shopProviders.some(
|
||||
(p) => p.providerNumber === this.selectedProvider?.providerNumber
|
||||
);
|
||||
if (providerExists) {
|
||||
this.selectedProvider = this.lastInshopProvider;
|
||||
} else {
|
||||
this.selectedProvider = this.shopProviderData.shopProviders[0]
|
||||
this.selectedProvider = this.shopProviderData.shopProviders[0];
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
this.selectedProvider = this.shopProviderData.shopProviders[0];
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue