diff --git a/src/stores/connectionStore.ts b/src/stores/connectionStore.ts index f7ac91588f..263e80b395 100644 --- a/src/stores/connectionStore.ts +++ b/src/stores/connectionStore.ts @@ -1089,6 +1089,7 @@ export const useConnectionStore = defineStore("connection", () => { continue; } if (!expandedIds.has(node.id)) continue; + clearLoadedChildrenCache(node.id); node.children = []; await loadTreeNodeChildren(node, { force: true }); await restoreExpandedChildren(node, expandedIds, { force: true });