[Fix] Fixed missing date filter update
This commit is contained in:
parent
402a028ca4
commit
4ea59e1309
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "strolch-wc-reports",
|
||||
"description": "Strolch WebComponent Reports",
|
||||
"version": "0.3.0",
|
||||
"version": "0.3.1",
|
||||
"authors": [
|
||||
"Robert von Burg"
|
||||
],
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue