[pve-devel] [PATCH manager 1/4] ui: tree: don't show empty grouping nodes as expandable
Dominik Csapak
d.csapak at proxmox.com
Thu Jan 22 14:58:31 CET 2026
Non empty nodes in the tree automatically will show an arrow to expand
them. When grouping, this is currently forced by setting 'leaf' to
false, so they always show an 'expanding arrow', which vanishes when
trying to expand such an item.
Instead, simply let the tree add that automatically when a node has
children. This makes it instantly visible which nodes have children an
which do not.
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
www/manager6/tree/ResourceTree.js | 1 -
1 file changed, 1 deletion(-)
diff --git a/www/manager6/tree/ResourceTree.js b/www/manager6/tree/ResourceTree.js
index bb016f8c..76d58e2f 100644
--- a/www/manager6/tree/ResourceTree.js
+++ b/www/manager6/tree/ResourceTree.js
@@ -253,7 +253,6 @@ Ext.define('PVE.tree.ResourceTree', {
groupinfo[groupBy] = v;
}
}
- groupinfo.leaf = false;
groupinfo.groupbyid = v;
group = me.addChildSorted(node, groupinfo);
}
--
2.47.3
More information about the pve-devel
mailing list