From 0be982e25fe5c845e5e662bb5e7f43c0560da9f1 Mon Sep 17 00:00:00 2001 From: Anton Date: Mon, 11 Nov 2024 16:44:45 +0100 Subject: [PATCH] Fix restore action for file preview file reload [SCI-11253] --- .../vue/shared/content/attachments/open_locally_menu.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/vue/shared/content/attachments/open_locally_menu.vue b/app/javascript/vue/shared/content/attachments/open_locally_menu.vue index 9d40e11cf..0db3edd45 100644 --- a/app/javascript/vue/shared/content/attachments/open_locally_menu.vue +++ b/app/javascript/vue/shared/content/attachments/open_locally_menu.vue @@ -135,7 +135,7 @@ export default { if (!imageElement) return; - window.ActiveStoragePreviews.reCheckPreview({ target: imageElement }); + $('#filePreviewModal').modal('hide'); } } };