diff --git a/src/components/home/navigation.vue b/src/components/home/navigation.vue index 2476f4704..1b3d54dc4 100644 --- a/src/components/home/navigation.vue +++ b/src/components/home/navigation.vue @@ -228,11 +228,7 @@ export default { }, resize() { // Hide the menu by default on mobile - if (window.innerWidth < 770) { - this.$store.commit(MENU_ACTIVE, false) - } else { - this.$store.commit(MENU_ACTIVE, true) - } + this.$store.commit(MENU_ACTIVE, window.innerWidth >= 770) }, toggleLists(namespaceId) { this.listsVisible[namespaceId] = !this.listsVisible[namespaceId]