mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2025-01-05 09:17:59 +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:
parent
af037dd25d
commit
54308a12b3
@ -8,7 +8,7 @@ Ext.define('pbs-partition-list', {
|
|||||||
transform: (rawData) => rawData.data
|
transform: (rawData) => rawData.data
|
||||||
.flatMap(disk => (disk.partitions
|
.flatMap(disk => (disk.partitions
|
||||||
.map(part => ({ ...part, model: disk.model })) ?? [])
|
.map(part => ({ ...part, model: disk.model })) ?? [])
|
||||||
.filter(partition => partition.used === 'filesystem')),
|
.filter(partition => partition.used === 'filesystem' && !!partition.uuid)),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
idProperty: 'devpath',
|
idProperty: 'devpath',
|
||||||
|
Loading…
Reference in New Issue
Block a user