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

Fix invalid uses of Array.map

This commit is contained in:
Bill Thornton 2020-12-12 00:57:26 -05:00
parent 14dc03ab7d
commit 310e8b713f
4 changed files with 7 additions and 11 deletions

View file

@ -86,7 +86,7 @@ function unsubscribeFromPlayerUpdates(instance) {
function processUpdatedSessions(instance, sessions, apiClient) {
const serverId = apiClient.serverId();
sessions.map(function (s) {
sessions.forEach(s => {
if (s.NowPlayingItem) {
s.NowPlayingItem.ServerId = serverId;
}