fix: adds preview content modal to monitor tables
This commit is contained in:
@@ -12,11 +12,11 @@ export default class PreviewContentDialog extends HTMLDialogElement {
|
||||
this.setHeading = this.setHeading.bind(this);
|
||||
this.setContent = this.setContent.bind(this);
|
||||
|
||||
this.#closeBtnEl.addEventListener('click', () => this.close());
|
||||
document.addEventListener('hidePreviewContentModal', () => this.close());
|
||||
document.addEventListener('showPreviewContentModal', (event) => {
|
||||
this.display(event.detail);
|
||||
});
|
||||
document.addEventListener('hidePreviewContentModal', (e) => this.close());
|
||||
this.#closeBtnEl.addEventListener('click', () => this.close());
|
||||
}
|
||||
|
||||
setHeading(heading) {
|
||||
|
||||
Reference in New Issue
Block a user