5
0
mirror of git://git.proxmox.com/git/proxmox-backup.git synced 2025-01-03 01:18:02 +03:00

ui: filter partitions without proper UUID in partition selector

Signed-off-by: Hannes Laimer <h.laimer@proxmox.com>
This commit is contained in:
Hannes Laimer 2024-11-27 16:17:30 +01:00 committed by Thomas Lamprecht
parent af037dd25d
commit 54308a12b3

View File

@ -8,7 +8,7 @@ Ext.define('pbs-partition-list', {
transform: (rawData) => rawData.data
.flatMap(disk => (disk.partitions
.map(part => ({ ...part, model: disk.model })) ?? [])
.filter(partition => partition.used === 'filesystem')),
.filter(partition => partition.used === 'filesystem' && !!partition.uuid)),
},
},
idProperty: 'devpath',