Merge pull request #60 from AB1908/preview-modal

Preview modal fix: handle onClose
This commit is contained in:
Moritz Jung 2022-10-13 13:23:18 +02:00 committed by GitHub
commit f52dc19662
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,4 +75,8 @@ export class MediaDbPreviewModal extends Modal {
onOpen(): void {
this.preview();
}
onClose(): void {
this.closeCallback();
}
}