mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
Implement cvium's code clarity suggestion
This commit is contained in:
parent
77a23c74d9
commit
789eed49af
@ -509,13 +509,7 @@ define(["browser", "datetime", "backdrop", "libraryBrowser", "listView", "imageL
|
||||
|
||||
function getSaveablePlaylistItems() {
|
||||
return getPlaylistItems(currentPlayer).then(function (items) {
|
||||
return items.filter(function (i) {
|
||||
if (i.Id) {
|
||||
return i.ServerId;
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
return i.Id && i.ServerId
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user