[Fix] Fixed missing date filter update
This commit is contained in:
parent
402a028ca4
commit
4ea59e1309
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "strolch-wc-reports",
|
"name": "strolch-wc-reports",
|
||||||
"description": "Strolch WebComponent Reports",
|
"description": "Strolch WebComponent Reports",
|
||||||
"version": "0.3.0",
|
"version": "0.3.1",
|
||||||
"authors": [
|
"authors": [
|
||||||
"Robert von Burg"
|
"Robert von Burg"
|
||||||
],
|
],
|
||||||
|
|
|
@ -455,11 +455,13 @@
|
||||||
},
|
},
|
||||||
fromDate: {
|
fromDate: {
|
||||||
type: Date,
|
type: Date,
|
||||||
value: null
|
value: null,
|
||||||
|
observer: 'dateFilterChanged'
|
||||||
},
|
},
|
||||||
toDate: {
|
toDate: {
|
||||||
type: Date,
|
type: Date,
|
||||||
value: null
|
value: null,
|
||||||
|
observer: 'dateFilterChanged'
|
||||||
},
|
},
|
||||||
propagateShowDialog: {
|
propagateShowDialog: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
@ -501,6 +503,10 @@
|
||||||
this.hideLoadingOverlay();
|
this.hideLoadingOverlay();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
dateFilterChanged: function (newValue) {
|
||||||
|
if (newValue != null)
|
||||||
|
this.queryReports();
|
||||||
|
},
|
||||||
|
|
||||||
/* Listeners */
|
/* Listeners */
|
||||||
listeners: {
|
listeners: {
|
||||||
|
|
Loading…
Reference in New Issue