1
0
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:
Carlos Martín 2013-07-15 12:13:21 +02:00
parent 92e98fb7fd
commit d83c40e96e

View File

@ -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);