diff --git a/app/javascript/dashboard/components-next/message/MessageList.vue b/app/javascript/dashboard/components-next/message/MessageList.vue index 658db2b4d..505e5c03b 100644 --- a/app/javascript/dashboard/components-next/message/MessageList.vue +++ b/app/javascript/dashboard/components-next/message/MessageList.vue @@ -76,6 +76,8 @@ const shouldGroupWithNext = (index, searchList) => { if (!hasSameSender || areBothTemplates) return false; + if (currentMessageType !== nextMessageType) return false; + // Check if messages are in the same minute by rounding down to nearest minute return Math.floor(next.createdAt / 60) === Math.floor(current.createdAt / 60); };