fix(sidebar): isolate virtual tree row identities

Closes #6773
This commit is contained in:
t8y2 committed 2026-08-20 15:59:10 +00:00
1 parent 90a18a7b23
commit 10d1509d92
6 files changed
+101 -14

No files matched your search

@@ -1,4 +1,4 @@
import type { FlatTreeNode } from "@/composables/useFlatTree";
import { appendFlatTreeRenderKey, type FlatTreeNode } from "@/composables/useFlatTree";
import type { TreeNode, TreeNodeType } from "@/types/database";
const simpleObjectParentTypes = new Set<TreeNodeType>(["database", "schema", "linked-server-schema"]);
@@ -59,6 +59,7 @@ export function insertSidebarTableSearchControls(
node,
depth: item.depth + 1,
id: node.id,
renderKey: appendFlatTreeRenderKey(item.renderKey, node),
type: node.type,
poolType: `${node.type}:${node.id}`,
});