app/components/lookbook/nav/item/component.js in lookbook-1.3.4 vs app/components/lookbook/nav/item/component.js in lookbook-1.4.0
- old
+ new
@@ -1,5 +1,9 @@
export default function navItemComponent({ id, matchers }) {
+ matchers = matchers.map((matcher) =>
+ matcher.replace(/\s/g, "").toLowerCase()
+ );
+
return {
filteredOut: false,
get open() {
return this.isCollection && this.isOpen(id);