From 974a9f00b9172d7f080f29ac47c9e5370d36d8bf Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Thu, 12 Dec 2024 13:33:37 +0530 Subject: [PATCH] fix: error handler --- .../dashboard/components-next/message/bubbles/Image.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/dashboard/components-next/message/bubbles/Image.vue b/app/javascript/dashboard/components-next/message/bubbles/Image.vue index 15f87511a..9caa897fa 100644 --- a/app/javascript/dashboard/components-next/message/bubbles/Image.vue +++ b/app/javascript/dashboard/components-next/message/bubbles/Image.vue @@ -70,7 +70,7 @@ const downloadAttachment = async () => { >

@@ -105,7 +105,7 @@ const downloadAttachment = async () => { v-model:show="showGallery" :attachment="useSnakeCase(attachment)" :all-attachments="filteredCurrentChatAttachments" - @error="onError" + @error="handleError" @close="() => (showGallery = false)" />