fixed reference variable when displaying error messages
This commit is contained in:
parent
a5256d9a21
commit
72742a1103
1 changed files with 3 additions and 3 deletions
|
@ -63,9 +63,9 @@ export default class alerts {
|
|||
alert(texts.localized(`error_msg_GUI`, false, [String(ERROR_CODE), ERROR_MESSAGE]));
|
||||
} else {
|
||||
try {
|
||||
M.toast({ text: message });
|
||||
} catch (err) {}
|
||||
}
|
||||
M.toast({ text: ERROR_MESSAGE });
|
||||
} catch (err) {};
|
||||
};
|
||||
})();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue