Skip to content

Commit c6d9cbc

Browse files
committed
fix: closing preview modal
1 parent 918c5b6 commit c6d9cbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/ModalHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ export class ModalHelper {
398398
}
399399

400400
if (previewModalResult.code === ModalResultCode.CLOSE) {
401-
// modal is already being closed
401+
previewModal.close();
402402
return undefined;
403403
}
404404

0 commit comments

Comments
 (0)