CASH-185
CASH-185 added experiment check to setDisplayWaitList function in schedule
This commit is contained in:
parent
63de7f959f
commit
2f13ade0b3
1 changed files with 21 additions and 19 deletions
|
|
@ -521,6 +521,7 @@ export default {
|
||||||
this.$router.navigateWithSaving(this.navigationScenarios.CLICKED_FORWARD, this.$route);
|
this.$router.navigateWithSaving(this.navigationScenarios.CLICKED_FORWARD, this.$route);
|
||||||
},
|
},
|
||||||
setDisplayWaitList() {
|
setDisplayWaitList() {
|
||||||
|
if(experimentMixin.methods.hasSettingEqualTo(experimentSettings.DISPLAY_WAITLIST, "true")){
|
||||||
const dateString = this.selectableDatesData.days[0].date;
|
const dateString = this.selectableDatesData.days[0].date;
|
||||||
const [year, month, day] = dateString.split("-").map(Number);
|
const [year, month, day] = dateString.split("-").map(Number);
|
||||||
const targetDate = new Date(year, month - 1, day);
|
const targetDate = new Date(year, month - 1, day);
|
||||||
|
|
@ -542,6 +543,7 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
this.displayWaitList = false;
|
this.displayWaitList = false;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
updateSupportingItems() {
|
updateSupportingItems() {
|
||||||
const supportingItems = this.getSupportingItems();
|
const supportingItems = this.getSupportingItems();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue