diff --git a/frontend/src/components/sf-table/utils/tree.js b/frontend/src/components/sf-table/utils/tree.js
index 0cdc1c8b14..d9d28ca56f 100644
--- a/frontend/src/components/sf-table/utils/tree.js
+++ b/frontend/src/components/sf-table/utils/tree.js
@@ -54,7 +54,7 @@ export const getRecordsIdsByTreeNodeKeys = (nodesKeys, treeNodeKeyRecordIdMap) =
nodesKeys.forEach((nodeKey) => {
const selectedId = treeNodeKeyRecordIdMap[nodeKey];
if (selectedId && !idExistMap[selectedId]) {
- selectedIds.push(nodeKey);
+ selectedIds.push(selectedId);
idExistMap[selectedId] = true;
}
});
diff --git a/frontend/src/tag/views/all-tags/index.js b/frontend/src/tag/views/all-tags/index.js
index c7e074b103..9acd3b8bfd 100644
--- a/frontend/src/tag/views/all-tags/index.js
+++ b/frontend/src/tag/views/all-tags/index.js
@@ -68,9 +68,9 @@ const AllTags = ({ updateCurrentPath, ...params }) => {
useEffect(() => {
if (isLoading || isReloading) {
- setDisplayTag('');
+ onChangeDisplayTag();
}
- }, [isLoading, isReloading]);
+ }, [isLoading, isReloading, onChangeDisplayTag]);
if (isReloading) return ();
diff --git a/frontend/src/tag/views/all-tags/tags-table/index.js b/frontend/src/tag/views/all-tags/tags-table/index.js
index 4040e368e8..f022de20ab 100644
--- a/frontend/src/tag/views/all-tags/tags-table/index.js
+++ b/frontend/src/tag/views/all-tags/tags-table/index.js
@@ -168,6 +168,7 @@ const TagsTable = ({