Am 19.11.24 um 10:22 schrieb Dominik Csapak: > which defaults to expand all, and only if all expanded, collapse all. > > Changes icon dynamically when nodes expand/collapse. > > Signed-off-by: Dominik Csapak <d.csa...@proxmox.com> > --- > if we'd find an icon that would fit for both cases, we could omit the > event bubbling probably. If there are many nodes, the 'hasCollapsed' > check will trigger more often, iterating over all tree nodes..
We could also just do two separate buttons, FWIW. _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel