[ACA-2176] prevent Esc click event bubble into the Viewer (#6378)

* prevent Esc click event bubble into the Viewer

* fix tests
This commit is contained in:
Denys Vuika
2020-12-02 13:48:44 +00:00
committed by GitHub
parent 567ea6cb0d
commit a3fabf632c
5 changed files with 45 additions and 11 deletions

View File

@@ -232,8 +232,13 @@ export class ContentNodeDialogService {
return select;
}
private openContentNodeDialog(data: ContentNodeSelectorComponentData, currentPanelClass: string, chosenWidth: string) {
this.dialog.open(ContentNodeSelectorComponent, { data, panelClass: currentPanelClass, width: chosenWidth });
private openContentNodeDialog(data: ContentNodeSelectorComponentData, panelClass: string, width: string) {
this.dialog.open(ContentNodeSelectorComponent, {
data,
panelClass,
width,
disableClose: true
});
}
private imageResolver(row: ShareDataRow): string | null {