Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
5b21b4b6
authored
Mar 31, 2025
by
Mr-Chiang
Committed by
GitHub
Mar 31, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update:知识库名称搜索出文件夹后,点击文件夹未置空搜索框,导致进不了文件夹的下一级,工作台也有此问题 (#4404)
parent
b0f0afab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
projects/app/src/pageComponents/dataset/list/List.tsx
+3
-1
No files found.
projects/app/src/pageComponents/dataset/list/List.tsx
View file @
5b21b4b6
...
...
@@ -48,7 +48,8 @@ function List() {
onDelDataset
,
onUpdateDataset
,
myDatasets
,
folderDetail
folderDetail
,
setSearchKey
}
=
useContextSelector
(
DatasetsContext
,
(
v
)
=>
v
);
const
[
editPerDatasetIndex
,
setEditPerDatasetIndex
]
=
useState
<
number
>
();
const
router
=
useRouter
();
...
...
@@ -201,6 +202,7 @@ function List() {
}
}
onClick=
{
()
=>
{
if
(
dataset
.
type
===
DatasetTypeEnum
.
folder
)
{
setSearchKey
(
''
);
router
.
push
({
pathname
:
'/dataset/list'
,
query
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment