mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Implement cvium's code clarity suggestion
This commit is contained in:
parent
77a23c74d9
commit
789eed49af
1 changed files with 1 additions and 7 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue