diff --git a/app/javascript/dashboard/components-next/message/MessageList.vue b/app/javascript/dashboard/components-next/message/MessageList.vue index 97fb16043..658db2b4d 100644 --- a/app/javascript/dashboard/components-next/message/MessageList.vue +++ b/app/javascript/dashboard/components-next/message/MessageList.vue @@ -74,7 +74,7 @@ const shouldGroupWithNext = (index, searchList) => { nextMessageType === MESSAGE_TYPES.TEMPLATE && currentMessageType === MESSAGE_TYPES.TEMPLATE; - if (!hasSameSender || !areBothTemplates) return false; + if (!hasSameSender || areBothTemplates) 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);