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]));
|
alert(texts.localized(`error_msg_GUI`, false, [String(ERROR_CODE), ERROR_MESSAGE]));
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
M.toast({ text: message });
|
M.toast({ text: ERROR_MESSAGE });
|
||||||
} catch (err) {}
|
} catch (err) {};
|
||||||
}
|
};
|
||||||
})();
|
})();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue