app/components/lookbook/nav/component.js in lookbook-1.0.8 vs app/components/lookbook/nav/component.js in lookbook-1.1.0
- old
+ new
@@ -23,9 +23,13 @@
if (index > -1) {
store.open.splice(index, 1);
}
},
+ closeAll() {
+ store.open.length = 0;
+ },
+
toggleOpen(id) {
this.isOpen(id) ? this.setClosed(id) : this.setOpen(id);
},
async filter(text) {