From ec5d30745b224a55a9e57a72a042f9553d8b51e0 Mon Sep 17 00:00:00 2001 From: Muhsin Keloth Date: Wed, 23 Jul 2025 15:37:03 +0400 Subject: [PATCH] Update inboxes.js --- app/javascript/dashboard/store/modules/inboxes.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/javascript/dashboard/store/modules/inboxes.js b/app/javascript/dashboard/store/modules/inboxes.js index a325a28e9..754513cd6 100644 --- a/app/javascript/dashboard/store/modules/inboxes.js +++ b/app/javascript/dashboard/store/modules/inboxes.js @@ -44,11 +44,7 @@ export const getters = { const messagesTemplates = whatsAppMessageTemplates || apiInboxMessageTemplates; - // Return all WhatsApp templates including media templates - if (messagesTemplates instanceof Array) { - return messagesTemplates; - } - return []; + return messagesTemplates; }, getNewConversationInboxes($state) { return $state.records.filter(inbox => {