Skip to content

Commit

Permalink
Merge pull request #1190 from peterkeung/instant-filter-file
Browse files Browse the repository at this point in the history
EZP-31291: Fix Content Type creation filter on certain words such as "File"
  • Loading branch information
lserwatka authored Jan 16, 2020
2 parents 69e5c01 + 5da7c1f commit c309c56
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
const groups = [...filter.querySelectorAll('.ez-instant-filter__group')];
const items = [...filter.querySelectorAll(SELECTOR_ITEM)];
const itemsMap = items.reduce((total, item) => [...total, {
label: item.innerHTML.toLowerCase(),
label: item.textContent.toLowerCase(),
element: item
}], []);

Expand Down

0 comments on commit c309c56

Please sign in to comment.