Add test_level_placement and fix it with the 2.2.0+ PG "folding" system

This commit is contained in:
Vitaliy Filippov
2025-12-15 14:19:30 +03:00
parent b78f526696
commit d35727dbb7
5 changed files with 61 additions and 2 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ function make_hier_tree(global_config, tree)
tree[''] = { children: [] };
for (const node_id in tree)
{
if (node_id === '' || !(tree[node_id].children||[]).length && (tree[node_id].size||0) <= 0)
if (node_id === '')
{
continue;
}