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 += '';