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(automations): disable duplicate action for automation entities (#5050)

Jacob Beckermanf58c0d491598
diff --git a/apps/web/src/features/next-soup/actions/make-copy-action.ts b/apps/web/src/features/next-soup/actions/make-copy-action.ts
index 9fe4878a09..c121aabcf4 100644
--- a/apps/web/src/features/next-soup/actions/make-copy-action.ts
+++ b/apps/web/src/features/next-soup/actions/make-copy-action.ts
@@ -12,7 +12,8 @@ export const makeCopyAction = () => {
entity.type !== 'email' &&
entity.type !== 'channel_message' &&
entity.type !== 'channel_thread' &&
- entity.type !== 'foreign'
+ entity.type !== 'foreign' &&
+ entity.type !== 'automation'
);
};