We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6d9cbc commit e250a02Copy full SHA for e250a02
src/modals/MediaDbPreviewModal.ts
@@ -75,4 +75,8 @@ export class MediaDbPreviewModal extends Modal {
75
onOpen(): void {
76
this.preview();
77
}
78
+
79
+ onClose(): void {
80
+ this.closeCallback();
81
+ }
82
src/utils/ModalHelper.ts
@@ -398,7 +398,6 @@ export class ModalHelper {
398
399
400
if (previewModalResult.code === ModalResultCode.CLOSE) {
401
- previewModal.close();
402
return undefined;
403
404
0 commit comments