File tree Expand file tree Collapse file tree
docs/content.en/docs/release-notes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ Information about release notes of Coco Server is provided here.
1919
2020### Bug fix
2121
22+ - Fixed the problem of not being able to search in secondary directories #338
23+
2224### Improvements
2325
2426- refactor: web components #331
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { useSearchStore } from "@/stores/searchStore";
77import ContextMenu from "./ContextMenu" ;
88import { NoResults } from "@/components/Common/UI/NoResults" ;
99import Footer from "@/components/Common/UI/Footer" ;
10+
1011interface SearchProps {
1112 isTauri : boolean ;
1213 changeInput : ( val : string ) => void ;
@@ -75,15 +76,12 @@ function Search({
7576 const debouncedSearch = useCallback ( debounce ( getSuggest , 500 ) , [ input ] ) ;
7677
7778 useEffect ( ( ) => {
78- ! isChatMode && ! sourceData && debouncedSearch ( ) ;
79+ ! isChatMode && debouncedSearch ( ) ;
7980 if ( ! input ) setSuggests ( [ ] ) ;
8081 } , [ input ] ) ;
8182
8283 return (
83- < div
84- ref = { mainWindowRef }
85- className = { `h-full pb-10 w-full relative` }
86- >
84+ < div ref = { mainWindowRef } className = { `h-full pb-10 w-full relative` } >
8785 { /* Search Results Panel */ }
8886 { suggests . length > 0 ? (
8987 sourceData ? (
You can’t perform that action at this time.
0 commit comments