forked from mystiq/hydrogen-web
Also check LoadStatus.Error
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
84fd286140
commit
c9fbafb909
1 changed files with 3 additions and 1 deletions
|
@ -130,7 +130,9 @@ export class SessionContainer {
|
|||
|
||||
async startWithLogin(loginMethod) {
|
||||
const currentStatus = this._status.get();
|
||||
if (currentStatus !== LoadStatus.LoginFailed && currentStatus !== LoadStatus.NotLoading) {
|
||||
if (currentStatus !== LoadStatus.LoginFailed &&
|
||||
currentStatus !== LoadStatus.NotLoading &&
|
||||
currentStatus !== LoadStatus.Error) {
|
||||
return;
|
||||
}
|
||||
this._resetStatus();
|
||||
|
|
Loading…
Reference in a new issue