CASH-1953: fix bug where selected provider can be null if loading w a preselected mobile date/time and then switching to inshop
This commit is contained in:
parent
2590a1739c
commit
68fdc3f27b
1 changed files with 2 additions and 0 deletions
|
|
@ -1737,6 +1737,8 @@ export default {
|
||||||
// make sure a selectedProvider exists
|
// make sure a selectedProvider exists
|
||||||
if (this.lastSelectedInshopOrDropoffProvider) {
|
if (this.lastSelectedInshopOrDropoffProvider) {
|
||||||
this.updateSelectedProvider(this.lastSelectedInshopOrDropoffProvider);
|
this.updateSelectedProvider(this.lastSelectedInshopOrDropoffProvider);
|
||||||
|
} else {
|
||||||
|
this.updateSelectedProvider();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.appointmentType = null;
|
this.appointmentType = null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue