1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fixed empty user display on dashboard

This commit is contained in:
Luke Pulverenti 2013-06-19 08:24:50 -04:00
parent 68a31e7a58
commit 151eb6bb3e

View file

@ -77,10 +77,6 @@
var connection = dashboardInfo.ActiveConnections[i];
var user = dashboardInfo.Users.filter(function (u) {
return u.Id == connection.UserId;
})[0];
html += '<tr>';
html += '<td style="text-align:center;">';
@ -88,11 +84,11 @@
html += '</td>';
html += '<td>';
html += user.Name;
html += connection.DeviceName;
html += '</td>';
html += '<td>';
html += connection.DeviceName;
html += connection.UserName || '';
html += '</td>';
html += '<td>';