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

Merge pull request #521 from dkanada/nowplaying

Fix save button in now playing controller

(cherry picked from commit 5ce69ae514)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
This commit is contained in:
Vasily 2019-10-15 12:52:38 +03:00 committed by Joshua Boniface
parent efdc07e032
commit a885964e46

View file

@ -511,7 +511,9 @@ define(["browser", "datetime", "backdrop", "libraryBrowser", "listView", "imageL
function getSaveablePlaylistItems() { function getSaveablePlaylistItems() {
return getPlaylistItems(currentPlayer).then(function (items) { return getPlaylistItems(currentPlayer).then(function (items) {
return i.Id && i.ServerId return items.filter(function (i) {
return i.Id && i.ServerId;
});
}); });
} }