[ACA-4503] Fix closing dialogs behind when closing the content selector dialog (#7138)

* [ACA-4503] Fix closing dialogs behind when closing the content selector dialog

* [ACA-4503] Close the dialogs from the content node selector component
This commit is contained in:
Pablo Martinez Garcia
2021-07-01 15:16:26 +02:00
committed by GitHub
parent 05c3ed01d7
commit d93980d1a3
4 changed files with 31 additions and 21 deletions

View File

@@ -77,6 +77,7 @@ export class ContentNodeSelectorComponent implements OnInit {
close() {
this.data.select.complete();
this.dialog.close();
}
onSelect(nodeList: Node[]) {
@@ -94,7 +95,7 @@ export class ContentNodeSelectorComponent implements OnInit {
onClick(): void {
this.data.select.next(this.chosenNode);
this.data.select.complete();
this.close();
}
updateTitle(siteTitle: string) {