From e1b6149b87bb791b94d37e2e122dec45e9f8e814 Mon Sep 17 00:00:00 2001 From: Gabriel Brascher Date: Wed, 23 Jun 2021 17:49:57 -0300 Subject: [PATCH] Fix UI issue when deploying VM with rootdisksize (GB now, not in bytes) --- 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 c0965bfd593e..16abfa80aa3a 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 } }