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

B #2504: Fix vms widget on dashboard (#4566)

This commit is contained in:
Sergio Betanzos 2020-04-22 14:54:16 +02:00 committed by GitHub
parent 60ed847cc3
commit 52e36b057f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -106,9 +106,9 @@ define(function(require) {
var default_group_quotas = QuotaDefaults.default_quotas(group.DEFAULT_GROUP_QUOTAS);
var vms = QuotaWidgets.quotaInfo(
group.VM_QUOTA.VM.VMS_USED,
group.VM_QUOTA.VM.VMS,
default_group_quotas.VM_QUOTA.VM.VMS);
group.VM_QUOTA.VM.RUNNING_VMS_USED,
group.VM_QUOTA.VM.RUNNING_VMS,
default_group_quotas.VM_QUOTA.VM.VMS);
$("#"+TAB_ID+" #provision_dashboard_group_rvms_percentage").html(vms["percentage"]);
$("#"+TAB_ID+" #provision_dashboard_group_rvms_str").html(vms["str"]);