CASH-185 added experiment check to setDisplayWaitList function in schedule
This commit is contained in:
Johnny shultz 2025-02-24 13:32:16 -05:00
parent 63de7f959f
commit 2f13ade0b3

View file

@ -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();