mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
remove console log, and bug fix
This commit is contained in:
@@ -14,7 +14,6 @@ export class ModalService{
|
||||
}
|
||||
|
||||
private close(){
|
||||
console.log("*** CLOSE ***")
|
||||
if(this.resolver){ this.resolve({exitCode: ModalExitCode.NO_CHOICE}); }
|
||||
this.modalType$.next(null);
|
||||
}
|
||||
@@ -37,7 +36,7 @@ export class ModalService{
|
||||
const promise = new Promise<ModalResponse>((resolve) => { this.resolver = resolve; });
|
||||
promise.then(() => this.close());
|
||||
this.modalType$.next(modalType);
|
||||
return await promise;
|
||||
return promise;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user