[Major] Updated code to work with strolch-wc-information-dialog 0.1.3

This commit is contained in:
Robert von Burg 2021-08-30 21:04:29 +02:00
parent 3220777b72
commit 9f44738eac
2 changed files with 6 additions and 4 deletions

View File

@ -86,8 +86,9 @@
title: 'serverNotAvailable',
line1: 'serverNotAvailableMsg',
cancelable: false,
callback: function () {
this.reconnect();
callback: function (confirmed) {
if (confirmed)
this.reconnect();
}.bind(this)
});
},
@ -99,7 +100,8 @@
title: 'sessionInvalid',
line1: 'sessionInvalidConfirmNavToLogin',
cancelable: false,
callback: function () {
callback: function (confirmed) {
if (!confirmed) return;
this.deleteCookie('strolch.authorization');
this.set("authTokenValid", false);
}.bind(this)

View File

@ -10,7 +10,7 @@
"strolch-wc-auth": "strolch-li/strolch-wc-auth#^0.9.2",
"strolch-wc-inspector": "strolch-li/strolch-wc-inspector#^0.22.2",
"strolch-wc-localize-behavior": "strolch-li/strolch-wc-localize-behavior#^1.1.11",
"strolch-wc-information-dialog": "strolch-li/strolch-wc-information-dialog#^0.1.2",
"strolch-wc-information-dialog": "strolch-li/strolch-wc-information-dialog#^0.1.3",
"strolch-wc-reports": "strolch-li/strolch-wc-reports#^0.2.12",
"strolch-wc-paging": "strolch-li/strolch-wc-paging#^0.1.4",
"strolch-wc-ws-observer": "strolch-li/strolch-wc-ws-observer#^0.2.7",