| ... | @@ -35,7 +35,7 @@ export function projectSearchEntriesQueryOptions(input: { | ... | @@ -35,7 +35,7 @@ export function projectSearchEntriesQueryOptions(input: { |
| 35 | limit, | 35 | limit, |
| 36 | }); | 36 | }); |
| 37 | }, | 37 | }, |
| 38 | enabled: input.enabled ?? Boolean(input.api && input.cwd), | 38 | enabled: (input.enabled ?? true) && Boolean(input.api && input.cwd), |
| 39 | staleTime: input.staleTime ?? DEFAULT_SEARCH_ENTRIES_STALE_TIME, | 39 | staleTime: input.staleTime ?? DEFAULT_SEARCH_ENTRIES_STALE_TIME, |
| 40 | placeholderData: (previous) => previous ?? EMPTY_SEARCH_ENTRIES_RESULT, | 40 | placeholderData: (previous) => previous ?? EMPTY_SEARCH_ENTRIES_RESULT, |
| 41 | }); | 41 | }); |