mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
fix(core-app): nav tree connections synchronisation
This commit is contained in:
@@ -341,13 +341,10 @@ export class NavNodeManagerService extends Bootstrap {
|
||||
|
||||
await this.refreshNode(nodeId);
|
||||
|
||||
if (connectionInfo?.features.includes(EConnectionFeature.temporary)) {
|
||||
const tree = this.navTree.get(ROOT_NODE_PATH);
|
||||
|
||||
const tree = this.navTree.get(ROOT_NODE_PATH);
|
||||
|
||||
if (!tree?.includes(nodeId)) {
|
||||
this.navTree.unshiftToNode(ROOT_NODE_PATH, [nodeId]);
|
||||
}
|
||||
if (!tree?.includes(nodeId)) {
|
||||
this.navTree.unshiftToNode(ROOT_NODE_PATH, [nodeId]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user