Only set fullpage state to false if the page is actually fullpage
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2020-05-09 22:24:42 +02:00
parent b79593a372
commit f878063015
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 3 additions and 1 deletions

View File

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