From afb263d84eb1e2853fe7e714b94c17e1e7d58faa Mon Sep 17 00:00:00 2001 From: Daan Hoogland Date: Thu, 27 Mar 2025 17:25:20 +0100 Subject: [PATCH] check for custom offering and trim size --- ui/src/views/storage/CreateVolume.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/src/views/storage/CreateVolume.vue b/ui/src/views/storage/CreateVolume.vue index 3efe31a34e2a..b8c5e307decf 100644 --- a/ui/src/views/storage/CreateVolume.vue +++ b/ui/src/views/storage/CreateVolume.vue @@ -269,6 +269,9 @@ export default { values.virtualmachineid = this.resource.id values.zoneid = this.resource.zoneid } + if (this.customDiskOffering) { + values.size = values.size.trim() + } if (this.createVolumeFromSnapshot) { values.snapshotid = this.resource.id }