[Fix] Added propagate-show-dialog property as in inspector

This commit is contained in:
Robert von Burg 2019-03-05 18:22:03 +01:00
parent 62bbd35604
commit c0fb08c88e
2 changed files with 10 additions and 2 deletions

View File

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

View File

@ -360,6 +360,12 @@
toDate: {
type: Date,
value: null
},
propagateShowDialog: {
type: Boolean,
value: function () {
return false
}
}
},
@ -374,7 +380,9 @@
},
onShowDialog: function (event) {
this.showError(event.detail.title, event.detail.text);
if (!this.propagateShowDialog) {
this.showError(event.detail.title, event.detail.text);
}
},
showError: function (title, text) {
this.dlgTitle = title;