Only set fullpage state to false if the page is actually fullpage

This commit is contained in:
kolaente 2020-05-09 22:24:42 +02:00
parent b79593a372
commit f878063015
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -317,7 +317,9 @@
} }
}, },
doStuffAfterRoute(e) { doStuffAfterRoute(e) {
this.$store.commit(IS_FULLPAGE, false) if(this.$store.state[IS_FULLPAGE]) {
this.$store.commit(IS_FULLPAGE, false)
}
this.loadNamespacesIfNeeded(e) this.loadNamespacesIfNeeded(e)
this.mobileMenuActive = false this.mobileMenuActive = false
this.userMenuActive = false this.userMenuActive = false