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: Display names not showing in mentions menu for channel users (#513)
dev-rb784b0e155b8a
diff --git a/js/app/packages/block-channel/component/Message/MessageReactions.tsx b/js/app/packages/block-channel/component/Message/MessageReactions.tsxindex a8fa38fd0f..2479c31728 100644--- a/js/app/packages/block-channel/component/Message/MessageReactions.tsx+++ b/js/app/packages/block-channel/component/Message/MessageReactions.tsx@@ -44,7 +44,7 @@ export function MessageReactions(props: MessageReactionsProps) {: reaction.users.includes(userId()!);const tooltipContent = createMemo(() => {- let users = reaction.users.map((userId_) => {+ const users = reaction.users.map((userId_) => {if (userId_ === userId()!) {return 'You';}@@ -52,8 +52,9 @@ export function MessageReactions(props: MessageReactionsProps) {});if (users.length === 1) {- return idToDisplayName(users[0]);+ return users[0];}+const first = users.slice(0, -1);const lastUser = users.slice(-1)[0];// Team oxford comma