mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
Fixed UI to display the disk size of a disk offering as-is rather than converting from MB to GB
This commit is contained in:
parent
736603be86
commit
fb8b895a0a
@ -315,7 +315,7 @@ function diskofferingGetDiskSize(jsonObj) {
|
||||
if(jsonObj.disksize == 0 && jsonObj.isCustomized == true)
|
||||
diskSize = "custom size (during VM creation or volume creation)";
|
||||
else
|
||||
diskSize = convertBytes(jsonObj.disksize * 1024 * 1024); //unit of jsonObj.disksize is MB.
|
||||
diskSize = jsonObj.disksize + " GB";
|
||||
return diskSize;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user