You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by pr...@apache.org on 2013/05/28 09:58:58 UTC
[13/50] git commit: updated refs/heads/master to b03e419
Add VM total to dashboard
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/9fff2c4a
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9fff2c4a
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9fff2c4a
Branch: refs/heads/master
Commit: 9fff2c4a666cfb0a330c4385812584c91fa49188
Parents: 451c83c
Author: Brian Federle <bf...@gmail.com>
Authored: Tue May 21 12:54:07 2013 -0700
Committer: Brian Federle <bf...@gmail.com>
Committed: Tue May 21 12:54:07 2013 -0700
----------------------------------------------------------------------
ui/scripts/vpc.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9fff2c4a/ui/scripts/vpc.js
----------------------------------------------------------------------
diff --git a/ui/scripts/vpc.js b/ui/scripts/vpc.js
index fa5c0a5..9cef91a 100644
--- a/ui/scripts/vpc.js
+++ b/ui/scripts/vpc.js
@@ -3080,7 +3080,7 @@
{
id: 'tierVMs',
name: 'Virtual Machines',
- total: 0
+ total: $.isArray(tier.virtualMachines) ? tier.virtualMachines.length : 0
}
]
});