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 <bfede...@gmail.com> Authored: Tue May 21 12:54:07 2013 -0700 Committer: Brian Federle <bfede...@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 } ] });