More Cleanup

This commit is contained in:
kolaente 2020-11-01 17:35:50 +01:00
parent 93bc3b5c3c
commit 5d47b44fe9
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 6 deletions

View File

@ -29,7 +29,7 @@ import {mapState} from 'vuex'
import authTypes from './models/authTypes'
import Notification from './components/misc/notification'
import {CURRENT_LIST, IS_FULLPAGE, KEYBOARD_SHORTCUTS_ACTIVE, MENU_ACTIVE, ONLINE} from './store/mutation-types'
import {CURRENT_LIST, IS_FULLPAGE, KEYBOARD_SHORTCUTS_ACTIVE, ONLINE} from './store/mutation-types'
import KeyboardShortcuts from './components/misc/keyboard-shortcuts'
import TopNavigation from '@/components/home/topNavigation'
import ContentAuth from '@/components/home/contentAuth'
@ -141,11 +141,6 @@ export default {
this.$store.commit(IS_FULLPAGE, false)
}
// If the menu is active on desktop, don't hide it because that would confuse the user
if (window.innerWidth < 770) {
this.$store.commit(MENU_ACTIVE, false)
}
// Reset the current list highlight in menu if the current list is not list related.
if (
this.$route.name === 'home' ||