UI: Fixed race conditional when show login error dialog

This commit is contained in:
Vladyslav_Prykhodko 2024-09-18 18:05:48 +03:00
parent 1f518cddbe
commit e0a96b8fb2

View File

@ -350,7 +350,7 @@ export class AuthService {
)
);
} else if (loginError) {
this.showLoginErrorDialog(loginError);
Promise.resolve().then(() => this.showLoginErrorDialog(loginError));
this.utils.updateQueryParam('loginError', null);
return throwError(Error());
}