Reset panel date when dates are null
This commit is contained in:
parent
b52e02e436
commit
15457562ea
2 changed files with 10 additions and 3 deletions
|
@ -138,6 +138,7 @@
|
|||
watch: {
|
||||
value (newVal) {
|
||||
this.dates = newVal;
|
||||
if (JSON.stringify(newVal) === '[null]') this.panelDate = this.startDate || new Date();
|
||||
},
|
||||
selectionMode(){
|
||||
this.currentView = this.selectionMode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue