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): pass support-channel visibility to the team channels list (#9123)
Eric Hayes8d1800446103
diff --git a/apps/web/src/features/channels-view/core/support-channels.ts b/apps/web/src/features/channels-view/core/support-channels.tsindex 347b6e066b..e177bd6362 100644--- a/apps/web/src/features/channels-view/core/support-channels.ts+++ b/apps/web/src/features/channels-view/core/support-channels.ts@@ -42,7 +42,12 @@ export function channelEntityFromListItem(* when the paged source is mostly support conversations.*/export function applySupportChannelVisibility(- scope: 'channels' | 'direct_messages' | 'recents' | 'search',+ scope:+ | 'team_channels'+ | 'channels'+ | 'direct_messages'+ | 'recents'+ | 'search',channels: readonly ChannelEntity[],extra: readonly ChannelEntity[],hide: booleandiff --git a/apps/web/src/features/channels-view/queries.ts b/apps/web/src/features/channels-view/queries.tsindex a650994250..75f3c6dfbb 100644--- a/apps/web/src/features/channels-view/queries.ts+++ b/apps/web/src/features/channels-view/queries.ts@@ -426,7 +426,8 @@ export function useChannelsSources(team_channels: useChannelsDataSource('team_channels',() => enabled('team_channels'),- () => sortBy('team_channels')+ () => sortBy('team_channels'),+ hideSupportChannels),channels: useChannelsDataSource('channels',