From 53c2e19d5f010feed2d161f1275568b1d66f7746 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Beims=20Br=C3=A4scher?= Date: Thu, 24 Jun 2021 02:33:46 -0300 Subject: [PATCH] ui: Fix UI issue when deploying VM with rootdisksize (GB now, not in bytes) (#5150) --- ui/src/views/compute/DeployVM.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/views/compute/DeployVM.vue b/ui/src/views/compute/DeployVM.vue index c0965bfd593..16abfa80aa3 100644 --- a/ui/src/views/compute/DeployVM.vue +++ b/ui/src/views/compute/DeployVM.vue @@ -1966,7 +1966,7 @@ export default { } } if (offering && offering.rootdisksize > 0) { - this.rootDiskSizeFixed = offering.rootdisksize / (1024 * 1024 * 1024.0).toFixed(2) + this.rootDiskSizeFixed = offering.rootdisksize this.showRootDiskSizeChanger = false } }