fix: need to use window.timeOut to get a timerId back
This commit is contained in:
parent
6ecfd8ec24
commit
5ed2faaecc
@ -346,7 +346,10 @@ export class LogInPage extends LiteElement {
|
||||
this.formStateService.send("BACKEND_INITIALIZED");
|
||||
} else {
|
||||
this.formStateService.send("BACKEND_NOT_INITIALIZED");
|
||||
this.timerId = setTimeout(() => this.checkBackendInitialized(), 5000);
|
||||
this.timerId = window.setTimeout(
|
||||
() => this.checkBackendInitialized(),
|
||||
5000
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user