]> git.proxmox.com Git - pve-manager.git/commit
fix #1408: ui: ResourceTree: sort the tree according to tree-sorting options
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 22 Feb 2023 07:51:52 +0000 (08:51 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 Feb 2023 08:12:36 +0000 (09:12 +0100)
commit8e9267f309a0dc4c4b0a787505e3120ae4a0091c
tree7c9bcc11bcf361da47b0ba45e61fe12702bbe450
parent3a2a696443fb5aeff463b0ecdb3dbc15e2a02b56
fix #1408: ui: ResourceTree: sort the tree according to tree-sorting options

Considers the newly added options from browser local storage. We have to
save the last sorting mechanism there, so we can detect if it changes
and trigger the movement/text changes (otherwise the tree nodes won't
be updated/moved)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/UIOptions.js
www/manager6/tree/ResourceTree.js