From 151eb6bb3eaadc010b2eec54d19ce867ad9ceeaa Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Wed, 19 Jun 2013 08:24:50 -0400 Subject: [PATCH] fixed empty user display on dashboard --- dashboard-ui/scripts/dashboardpage.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/dashboard-ui/scripts/dashboardpage.js b/dashboard-ui/scripts/dashboardpage.js index 263c95f887..695457d488 100644 --- a/dashboard-ui/scripts/dashboardpage.js +++ b/dashboard-ui/scripts/dashboardpage.js @@ -77,10 +77,6 @@ var connection = dashboardInfo.ActiveConnections[i]; - var user = dashboardInfo.Users.filter(function (u) { - return u.Id == connection.UserId; - })[0]; - html += ''; html += ''; @@ -88,11 +84,11 @@ html += ''; html += ''; - html += user.Name; + html += connection.DeviceName; html += ''; html += ''; - html += connection.DeviceName; + html += connection.UserName || ''; html += ''; html += '';