mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
Feature #1613: Change Sunstone capacity progress bar
This commit is contained in:
parent
92e98fb7fd
commit
d83c40e96e
@ -608,7 +608,7 @@ function datastoreElementArray(element_json){
|
||||
|
||||
var total = parseInt(element.TOTAL_MB);
|
||||
|
||||
var used = parseInt(element.USED_MB);
|
||||
var used = total - parseInt(element.FREE_MB);
|
||||
|
||||
if (total > 0) {
|
||||
var ratio = Math.round((used / total) * 100);
|
||||
|
Loading…
x
Reference in New Issue
Block a user