public/lookbook-assets/js/index.js in lookbook-2.0.5 vs public/lookbook-assets/js/index.js in lookbook-2.1.0

- old
+ new

@@ -7779,9 +7779,12 @@ if (window.SOCKET_PATH) { this.debug(`Lookbook socket created`); const socket = (0, $f57397824b7ddfec$export$2e2bcd8739ae039)(window.SOCKET_PATH); socket.addListener("Lookbook::ReloadChannel", ()=>this.updateDOM()); } + this.$watch("$store.layout.mobile", (mobile)=>{ + if (!mobile) this.$store.layout.sidebar.hidden = true; + }); }, navigateTo (path) { this.debug(`Navigating to ${path}`); history.pushState({}, null, path); this.$dispatch("popstate");