]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
convert disk list to disk tree and conditionally include partitions
authorFabian Ebner <f.ebner@proxmox.com>
Mon, 8 Feb 2021 14:23:27 +0000 (15:23 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 9 Feb 2021 11:01:24 +0000 (12:01 +0100)
commitd9e5b6711e155a4aafef115d41af69f378e444f9
treedcc19f0052533a15606d2615a20525ff29d57cb6
parentfef397f558821b499dbdf2b23b0d61f9fb4ab769
convert disk list to disk tree and conditionally include partitions

Assigning the store directly to the treepanel doesn't work, more manual
handling is needed. This is mostly based on what we do for PBS's datastore
content view. The store monitoring also needs to be changed slightly.

The buttons are restricted to work on disks only, based on the parent
attribute, that only partitions have.

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
src/grid/DiskList.js