forked from verdnatura/hedera-web
#4253 Hotfix: OutdatedVersionError not handled
This commit is contained in:
parent
efc7342359
commit
406b2f8300
|
@ -1,4 +1,4 @@
|
|||
hedera-web (22.48.9) stable; urgency=low
|
||||
hedera-web (22.48.10) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -198,11 +198,11 @@ module.exports = new Class({
|
|||
,async _onConnError(conn, err) {
|
||||
if (!(err instanceof Vn.JsonException)) return;
|
||||
switch (err.exception) {
|
||||
case 'UserDisabled':
|
||||
case 'UserDisabledError':
|
||||
Htk.Toast.showError(_('User disabled'));
|
||||
await this._logout();
|
||||
return;
|
||||
case 'OutdatedVersion':
|
||||
case 'OutdatedVersionError':
|
||||
this._newVersion();
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hedera-web",
|
||||
"version": "22.48.9",
|
||||
"version": "22.48.10",
|
||||
"description": "Verdnatura web page",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
|
|
Loading…
Reference in New Issue