Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(ai): automations empty state (#3464)

Eric Hayesc8085f0678ef
diff --git a/js/app/packages/app/component/next-soup/soup-view/empty-states.tsx b/js/app/packages/app/component/next-soup/soup-view/empty-states.tsx
index 330aa002ed..c4e913144d 100644
--- a/js/app/packages/app/component/next-soup/soup-view/empty-states.tsx
+++ b/js/app/packages/app/component/next-soup/soup-view/empty-states.tsx
@@ -16,6 +16,7 @@ import Arcanum06 from '@design/arcanum-06.svg';
import Arcanum07 from '@design/arcanum-07.svg';
import Arcanum09 from '@design/arcanum-09.svg';
import { createMemo, Match, Show, Switch } from 'solid-js';
+import { useSoupView } from './soup-view-context';
false && fileSelector;
false && folderSelector;
@@ -63,6 +64,14 @@ export function EmptyState(props: {
}
/>
</Match>
+ <Match
+ when={
+ props.listView === 'agents' &&
+ useSoupView().activeTab() === 'automations'
+ }
+ >
+ <EmptyStateInner message="No automations to show." />
+ </Match>
<Match when={props.listView === 'agents'}>
<AgentsEmptyState />
</Match>