CM-355, fix changed after check error caused by loading service.
This commit is contained in:
parent
d40f839365
commit
7ff7864767
@ -21,8 +21,10 @@ export class LoadingService {
|
||||
clearTimeout(this.#stopTimeout);
|
||||
this.#stopTimeout = undefined;
|
||||
}
|
||||
this.#loading.set(config);
|
||||
this.#loadingStarted = Date.now();
|
||||
setTimeout(() => {
|
||||
this.#loading.set(config);
|
||||
this.#loadingStarted = Date.now();
|
||||
});
|
||||
}
|
||||
|
||||
update(config: ILoadingConfig): void {
|
||||
@ -49,7 +51,7 @@ export class LoadingService {
|
||||
}
|
||||
|
||||
#stop(): void {
|
||||
this.#loading.set(undefined);
|
||||
setTimeout(() => this.#loading.set(undefined));
|
||||
}
|
||||
|
||||
#stopAfter(clearAfter: number): void {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user