[pbs-devel] [PATCH] ui: filter partitions without proper UUID in partition selector
Hannes Laimer
h.laimer at proxmox.com
Wed Nov 27 16:17:30 CET 2024
Signed-off-by: Hannes Laimer <h.laimer at proxmox.com>
---
www/form/PartitionSelector.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/form/PartitionSelector.js b/www/form/PartitionSelector.js
index 162dbe418..7ef542ffb 100644
--- a/www/form/PartitionSelector.js
+++ b/www/form/PartitionSelector.js
@@ -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)),
},jj
},
idProperty: 'devpath',
--
2.39.5
More information about the pbs-devel
mailing list