[Fix] Fixed missing date filter update

This commit is contained in:
Robert von Burg 2021-09-06 17:11:44 +02:00
parent 402a028ca4
commit 4ea59e1309
2 changed files with 9 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{
"name": "strolch-wc-reports",
"description": "Strolch WebComponent Reports",
"version": "0.3.0",
"version": "0.3.1",
"authors": [
"Robert von Burg"
],

View File

@ -455,11 +455,13 @@
},
fromDate: {
type: Date,
value: null
value: null,
observer: 'dateFilterChanged'
},
toDate: {
type: Date,
value: null
value: null,
observer: 'dateFilterChanged'
},
propagateShowDialog: {
type: Boolean,
@ -501,6 +503,10 @@
this.hideLoadingOverlay();
}
},
dateFilterChanged: function (newValue) {
if (newValue != null)
this.queryReports();
},
/* Listeners */
listeners: {