* Finds an open dialog by its id. * @param id ID to use when looking up the dialog.
(id: string)
| 174 | * @param id ID to use when looking up the dialog. |
| 175 | */ |
| 176 | getDialogById<R, C>(id: string): DialogRef<R, C> | undefined { |
| 177 | return this.openDialogs.find(dialog => dialog.id === id); |
| 178 | } |
| 179 | |
| 180 | ngOnDestroy() { |
| 181 | // Make one pass over all the dialogs that need to be untracked, but should not be closed. We |
no outgoing calls
no test coverage detected