Don't use undefined

This commit is contained in:
Sergio Crisostomo 2018-05-23 08:21:27 +02:00
parent 1c722892fa
commit 75c9806430

View file

@ -651,7 +651,7 @@
this.internalValue = Array.isArray(dates) ? dates : [dates];
}
this.focusedDate = this.internalValue[0];
if (this.internalValue[0]) this.focusedDate = this.internalValue[0];
this.focusedTime = {
...this.focusedTime,
time: this.internalValue.map(extractTime)