fix: closing preview modal

This commit is contained in:
AB1908 2022-10-13 15:55:29 +05:30
parent 918c5b6fd7
commit c6d9cbc369
No known key found for this signature in database
GPG key ID: A1DCD49686611B33

View file

@ -398,7 +398,7 @@ export class ModalHelper {
}
if (previewModalResult.code === ModalResultCode.CLOSE) {
// modal is already being closed
previewModal.close();
return undefined;
}