From 54308a12b3fcc79ae79c3c681be1d62d755d6ba1 Mon Sep 17 00:00:00 2001 From: Hannes Laimer Date: Wed, 27 Nov 2024 16:17:30 +0100 Subject: [PATCH] ui: filter partitions without proper UUID in partition selector Signed-off-by: Hannes Laimer --- 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 162dbe41..7ef542ff 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)), }, }, idProperty: 'devpath',