Don't use undefined
This commit is contained in:
parent
1c722892fa
commit
75c9806430
1 changed files with 1 additions and 1 deletions
|
@ -651,7 +651,7 @@
|
||||||
this.internalValue = Array.isArray(dates) ? dates : [dates];
|
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 = {
|
||||||
...this.focusedTime,
|
...this.focusedTime,
|
||||||
time: this.internalValue.map(extractTime)
|
time: this.internalValue.map(extractTime)
|
||||||
|
|
Loading…
Add table
Reference in a new issue