From 02ca4136ad68e757fa0d4b1eaee4a6ab3ff3a034 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Tue, 20 May 2025 16:28:08 +0530 Subject: [PATCH] fix: message attachments --- app/javascript/ui/MessageList.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/javascript/ui/MessageList.vue b/app/javascript/ui/MessageList.vue index 88f5cd60999..d12f253984a 100644 --- a/app/javascript/ui/MessageList.vue +++ b/app/javascript/ui/MessageList.vue @@ -72,7 +72,10 @@ const fetchMore = async () => { onMounted(async () => { await store.dispatch('inboxes/get'); - await store.dispatch('getConversation', conversationId.value); + await Promise.all([ + store.dispatch('getConversation', conversationId.value), + store.dispatch('fetchAllAttachments', conversationId.value), + ]); }); watch(conversation, () => {