You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2021/06/24 05:34:17 UTC
[cloudstack] branch 4.15 updated: ui: Fix UI issue when deploying
VM with rootdisksize (GB now, not in bytes) (#5150)
This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch 4.15
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.15 by this push:
new 53c2e19 ui: Fix UI issue when deploying VM with rootdisksize (GB now, not in bytes) (#5150)
53c2e19 is described below
commit 53c2e19d5f010feed2d161f1275568b1d66f7746
Author: Gabriel Beims Bräscher <ga...@apache.org>
AuthorDate: Thu Jun 24 02:33:46 2021 -0300
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 c0965bf..16abfa8 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
}
}