[pbs-devel] applied: [PATCH] ui: filter partitions without proper UUID in partition selector
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Nov 27 20:19:00 CET 2024
Am 27.11.24 um 16:17 schrieb Hannes Laimer:
> 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
^-- git am spotted this mishap as:
error: patch failed: www/form/PartitionSelector.js:8
error: www/form/PartitionSelector.js: patch does not apply
error: Did you hand edit your patch?
I fixed that up and applied the patch, one needs to take care when editing
a patch directly, ideally it's avoided.
> },
> idProperty: 'devpath',
More information about the pbs-devel
mailing list