From 5b21b4b674220be9066660e666521d34d9b9b343 Mon Sep 17 00:00:00 2001 From: Mr-Chiang <35268062+Mr-Chiang@users.noreply.github.com> Date: Mon, 31 Mar 2025 13:33:49 +0800 Subject: [PATCH] =?UTF-8?q?Update:=E7=9F=A5=E8=AF=86=E5=BA=93=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E6=90=9C=E7=B4=A2=E5=87=BA=E6=96=87=E4=BB=B6=E5=A4=B9?= =?UTF-8?q?=E5=90=8E=EF=BC=8C=E7=82=B9=E5=87=BB=E6=96=87=E4=BB=B6=E5=A4=B9?= =?UTF-8?q?=E6=9C=AA=E7=BD=AE=E7=A9=BA=E6=90=9C=E7=B4=A2=E6=A1=86=EF=BC=8C?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E8=BF=9B=E4=B8=8D=E4=BA=86=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=A4=B9=E7=9A=84=E4=B8=8B=E4=B8=80=E7=BA=A7=EF=BC=8C=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E5=8F=B0=E4=B9=9F=E6=9C=89=E6=AD=A4=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20(#4404)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- projects/app/src/pageComponents/dataset/list/List.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/projects/app/src/pageComponents/dataset/list/List.tsx b/projects/app/src/pageComponents/dataset/list/List.tsx index 5618aae2f..68da817aa 100644 --- a/projects/app/src/pageComponents/dataset/list/List.tsx +++ b/projects/app/src/pageComponents/dataset/list/List.tsx @@ -48,7 +48,8 @@ function List() { onDelDataset, onUpdateDataset, myDatasets, - folderDetail + folderDetail, + setSearchKey } = useContextSelector(DatasetsContext, (v) => v); const [editPerDatasetIndex, setEditPerDatasetIndex] = useState(); const router = useRouter(); @@ -201,6 +202,7 @@ function List() { }} onClick={() => { if (dataset.type === DatasetTypeEnum.folder) { + setSearchKey(''); router.push({ pathname: '/dataset/list', query: {