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.

bulk delete view enable delete project (#238)

Caleb Taylor6f67a209cc4c
diff --git a/js/app/packages/macro-entity/src/queries/dss.ts b/js/app/packages/macro-entity/src/queries/dss.ts
index 3c0380cec7..d2adf8ef7f 100644
--- a/js/app/packages/macro-entity/src/queries/dss.ts
+++ b/js/app/packages/macro-entity/src/queries/dss.ts
@@ -266,7 +266,7 @@ export function createDeleteDssItemMutation() {
export function createBulkDeleteDssItemsMutation() {
const isUnsupportedEntity = (entity: EntityData) => {
const type = entity.type;
- return type !== 'chat' && type !== 'document';
+ return type !== 'chat' && type !== 'document' && type !== 'project';
};
return useMutation(() => ({
mutationFn: async (entities: EntityData[]) => {