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 <[email protected]> --- 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 _______________________________________________ pve-devel mailing list [email protected] https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
