1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-22 11:52:03 +03:00
This commit is contained in:
Eugene Pankov 2022-12-04 19:26:02 +01:00
parent d736bdace4
commit a1825bbbe6
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -21,7 +21,7 @@ export class SelectorService {
show <T> (name: string, options: SelectorOption<T>[]): Promise<T> {
const modal = this.ngbModal.open(SelectorModalComponent)
this.current = modal
modal.result.then(() => {
modal.result.finally(() => {
this.current = null
})
const instance: SelectorModalComponent<T> = modal.componentInstance