app/assets/lookbook/js/components/nav-group.js in lookbook-0.4.8 vs app/assets/lookbook/js/components/nav-group.js in lookbook-0.5.0.beta.0
- old
+ new
@@ -13,10 +13,10 @@
toggle() {
this.$store.nav.toggle(this.id);
},
getChildren() {
return this.$refs.items
- ? Array.from(this.$refs.items.querySelectorAll(":scope > li"))
+ ? Array.from(this.$refs.items.querySelectorAll(":scope > li > div"))
: [];
},
navigateToFirstChild() {
if (this.open) {
const child = this.firstVisibleChild();