File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
docs/content.en/docs/release-notes Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ Information about release notes of Coco Server is provided here.
19
19
20
20
### Bug fix
21
21
22
+ - Fixed the problem of not being able to search in secondary directories #338
23
+
22
24
### Improvements
23
25
24
26
- refactor: web components #331
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { useSearchStore } from "@/stores/searchStore";
7
7
import ContextMenu from "./ContextMenu" ;
8
8
import { NoResults } from "@/components/Common/UI/NoResults" ;
9
9
import Footer from "@/components/Common/UI/Footer" ;
10
+
10
11
interface SearchProps {
11
12
isTauri : boolean ;
12
13
changeInput : ( val : string ) => void ;
@@ -75,15 +76,12 @@ function Search({
75
76
const debouncedSearch = useCallback ( debounce ( getSuggest , 500 ) , [ input ] ) ;
76
77
77
78
useEffect ( ( ) => {
78
- ! isChatMode && ! sourceData && debouncedSearch ( ) ;
79
+ ! isChatMode && debouncedSearch ( ) ;
79
80
if ( ! input ) setSuggests ( [ ] ) ;
80
81
} , [ input ] ) ;
81
82
82
83
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` } >
87
85
{ /* Search Results Panel */ }
88
86
{ suggests . length > 0 ? (
89
87
sourceData ? (
You can’t perform that action at this time.
0 commit comments