CASH-1291: Calendar not reloading when switching inshop/mobile
This commit is contained in:
parent
065fe0be2b
commit
d9360bc04f
1 changed files with 1 additions and 1 deletions
|
|
@ -1173,7 +1173,7 @@ export default {
|
||||||
|
|
||||||
if (this.preSelectedDate) this.selectedDate = this.preSelectedDate;
|
if (this.preSelectedDate) this.selectedDate = this.preSelectedDate;
|
||||||
|
|
||||||
if (!this.selectedDate) {
|
if (!this.preSelectedDate) {
|
||||||
// if no date is preselected on load, then select the first available
|
// if no date is preselected on load, then select the first available
|
||||||
let selectedDateMobile = this.getSelectedDateForMobile();
|
let selectedDateMobile = this.getSelectedDateForMobile();
|
||||||
let selectedDateInshop = this.getSelectedDateForInshop();
|
let selectedDateInshop = this.getSelectedDateForInshop();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue