1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-29 18:50:08 +03:00

M #~: humanize data in datastores cloudview (#2700)

(cherry picked from commit 3e99e579e2f8b8198960933b1893df92c403bf36)
This commit is contained in:
Jorge Miguel Lobo Escalona 2023-08-21 10:38:51 +02:00 committed by Tino Vázquez
parent 70f960d9fa
commit 53fd81bfa3

View File

@ -263,7 +263,7 @@ define(function(require) {
used = parseInt(datastores.SIZE_USED,10);
size = parseInt(datastores.SIZE,10);
}
var ds = QuotaWidgets.quotaInfo(used, size);
var ds = QuotaWidgets.quotaMBInfo(used, size);
$("#provision_dashboard_datastore_percentage").html(ds["percentage"]);
$("#provision_dashboard_datastore_str").html(ds["str"]);
$("#provision_dashboard_datastore_meter").val(ds["percentage"]);