CASH-464: fix potential javascript typeerror
This commit is contained in:
parent
8fbe19a7a4
commit
fbf9bf5bfc
1 changed files with 1 additions and 1 deletions
|
|
@ -564,7 +564,7 @@ export default {
|
|||
experimentMixin.methods.hasSettingEqualTo(
|
||||
experimentSettings.DISPLAY_WAITLIST,
|
||||
"true"
|
||||
)
|
||||
) && this.selectableDatesData.days[0]
|
||||
) {
|
||||
const dateString = this.selectableDatesData.days[0].date;
|
||||
const [year, month, day] = dateString.split("-").map(Number);
|
||||
|
|
|
|||
Loading…
Reference in a new issue