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
use memoized (#92)
gbirman711b5994e2b9
diff --git a/js/app/packages/app/component/UnifiedListView.tsx b/js/app/packages/app/component/UnifiedListView.tsxindex e5f99b613e..af19f9623e 100644--- a/js/app/packages/app/component/UnifiedListView.tsx+++ b/js/app/packages/app/component/UnifiedListView.tsx@@ -328,12 +328,12 @@ export function UnifiedListView(props: UnifiedListViewProps) {const fromFilter = createMemo(() => view()?.filters.fromFilter);const hasFromFilter = createMemo(() => fromFilter() !== undefined);const shouldFilterEmails = createMemo(() => {- if (!hasFromFilter) return false;+ if (!hasFromFilter()) return false;const types = entityTypeFilter();return types.length === 0 || types.includes('email');});const shouldFilterOwnedEntities = createMemo(() => {- if (!hasFromFilter) return false;+ if (!hasFromFilter()) return false;const types = entityTypeFilter();return types.length === 0 || types.some((t) => t !== 'email');});