Skip to content

Commit

Permalink
Remove filter from library collection type options
Browse files Browse the repository at this point in the history
  • Loading branch information
cvium committed Jan 19, 2019
1 parent 7417b84 commit a04ba7b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/components/medialibrarycreator/medialibrarycreator.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,9 @@ define(["loading", "dialogHelper", "dom", "jQuery", "components/libraryoptionsed
}

function getCollectionTypeOptionsHtml(collectionTypeOptions) {
return collectionTypeOptions.filter(function(i) {
return i.isSelectable
}).map(function(i) {
return '<option value="' + i.value + '">' + i.name + "</option>"
}).join("")
return collectionTypeOptions.map(function(i) {
return '<option value="' + i.value + '">' + i.name + "</option>";
}).join("");
}

function initEditor(page, collectionTypeOptions) {
Expand Down

0 comments on commit a04ba7b

Please sign in to comment.