[Fix] Added propagate-show-dialog property as in inspector
This commit is contained in:
parent
62bbd35604
commit
c0fb08c88e
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "strolch-wc-reports",
|
||||
"description": "Strolch WebComponent Reports",
|
||||
"version": "0.1.5",
|
||||
"version": "0.1.6",
|
||||
"authors": [
|
||||
"Robert von Burg"
|
||||
],
|
||||
|
|
|
@ -360,6 +360,12 @@
|
|||
toDate: {
|
||||
type: Date,
|
||||
value: null
|
||||
},
|
||||
propagateShowDialog: {
|
||||
type: Boolean,
|
||||
value: function () {
|
||||
return false
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -374,7 +380,9 @@
|
|||
},
|
||||
|
||||
onShowDialog: function (event) {
|
||||
if (!this.propagateShowDialog) {
|
||||
this.showError(event.detail.title, event.detail.text);
|
||||
}
|
||||
},
|
||||
showError: function (title, text) {
|
||||
this.dlgTitle = title;
|
||||
|
|
Loading…
Reference in New Issue