Update inboxes.js

This commit is contained in:
Muhsin Keloth
2025-07-23 15:37:03 +04:00
parent a8e581d057
commit ec5d30745b
@@ -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 => {