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: remove empty terms enable search query (#1493)

gbirman0ba0056297b6
diff --git a/js/app/packages/queries/soup/search.ts b/js/app/packages/queries/soup/search.ts
index e8b3da2f42..bee7519f94 100644
--- a/js/app/packages/queries/soup/search.ts
+++ b/js/app/packages/queries/soup/search.ts
@@ -53,8 +53,6 @@ export const useSearchSoupQuery = (
const enabled = createMemo(() => {
if (options?.().enabled === false) return false;
- if (!terms().length) return true;
-
return ENABLE_SEARCH_SERVICE && validSearchTerms();
});