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

Remove filter from library collection type options

This commit is contained in:
Claus Vium 2019-01-19 21:45:52 +01:00
parent 7417b844f0
commit a04ba7b3a9

View file

@ -42,11 +42,9 @@ define(["loading", "dialogHelper", "dom", "jQuery", "components/libraryoptionsed
} }
function getCollectionTypeOptionsHtml(collectionTypeOptions) { function getCollectionTypeOptionsHtml(collectionTypeOptions) {
return collectionTypeOptions.filter(function(i) { return collectionTypeOptions.map(function(i) {
return i.isSelectable return '<option value="' + i.value + '">' + i.name + "</option>";
}).map(function(i) { }).join("");
return '<option value="' + i.value + '">' + i.name + "</option>"
}).join("")
} }
function initEditor(page, collectionTypeOptions) { function initEditor(page, collectionTypeOptions) {