mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
fix(core-app): CB-874 navigation node children detection
This commit is contained in:
@@ -270,7 +270,7 @@ export class NavTreeResource extends CachedMapResource<string, string[]> {
|
||||
withDetails: metadata.withDetails,
|
||||
});
|
||||
|
||||
navNodeInfo.hasChildren = navNodeChildren.length > 0;
|
||||
navNodeInfo.hasChildren = navNodeInfo.hasChildren && navNodeChildren.length > 0;
|
||||
|
||||
return { navNodeChildren: navNodeChildren.slice(0, this.childrenLimit), navNodeInfo, parentPath };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user