mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 16:07:03 +03:00
Uncaught (in promise) TypeError: oData is undefined
This commit is contained in:
parent
d85cc9a79f
commit
51d9c3adbb
1 changed files with 2 additions and 1 deletions
|
|
@ -122,7 +122,8 @@ class LoginUserView extends AbstractViewCenter {
|
||||||
if (Notification.InvalidInputArgument == iError) {
|
if (Notification.InvalidInputArgument == iError) {
|
||||||
iError = Notification.AuthError;
|
iError = Notification.AuthError;
|
||||||
}
|
}
|
||||||
this.submitError(getNotification(iError, oData.ErrorMessage, Notification.UnknownNotification));
|
this.submitError(getNotification(iError, (oData ? oData.ErrorMessage : ''),
|
||||||
|
Notification.UnknownNotification));
|
||||||
this.submitErrorAddidional((oData && oData.ErrorMessageAdditional) || '');
|
this.submitErrorAddidional((oData && oData.ErrorMessageAdditional) || '');
|
||||||
} else {
|
} else {
|
||||||
rl.route.reload();
|
rl.route.reload();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue