Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(channels): only show icons for thread replies collapsed (#2458)
teo49b1b89986a5
diff --git a/js/app/packages/channel/Thread/ChannelThread.tsx b/js/app/packages/channel/Thread/ChannelThread.tsxindex 9a789de9a0..1a5e353acd 100644--- a/js/app/packages/channel/Thread/ChannelThread.tsx+++ b/js/app/packages/channel/Thread/ChannelThread.tsx@@ -111,7 +111,8 @@ export function ChannelThread(props: ThreadProps) {activeReplies().slice(DEFAULT_VISIBLE_REPLY_COUNT).some((reply: ApiThreadReply) => props.isNewMessage?.(reply));- const collapsedReplyUsers = () => getUniqueReplyUserIds(activeReplies());+ const collapsedReplyUsers = () =>+ getUniqueReplyUserIds(activeReplies().slice(DEFAULT_VISIBLE_REPLY_COUNT));const collapsedLatestReplyAt = () =>getThreadLatestReplyAt(thread().latest_reply_at, activeReplies());const shouldShowCollapsedIndicator = () =>