From 2022cd2deaf2f545fe0d0181c1390f0bf5ef93fd Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Tue, 28 Feb 2012 12:08:46 -0800 Subject: [PATCH] Use user.role instead of user.type --- ui/scripts/dashboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scripts/dashboard.js b/ui/scripts/dashboard.js index 6a712e0e0ab..36013a86f7d 100644 --- a/ui/scripts/dashboard.js +++ b/ui/scripts/dashboard.js @@ -38,7 +38,7 @@ accountID: user.userid, accountName: user.account, userName: user.username, - accountType: cloudStack.converters.toRole(user.type), + accountType: user.role, accountDomainID: user.domainid })); },