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:
parent
14dc03ab7d
commit
310e8b713f
4 changed files with 7 additions and 11 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue