fixed homepage redirection when homepage is disabled

This commit is contained in:
Čarodej
2022-05-10 09:53:13 +02:00
parent 73c84075c5
commit 209667f55e
6 changed files with 26 additions and 12 deletions
@@ -64,8 +64,6 @@ export default {
}
},
mounted() {
if (!this.config.allowHomepage) this.$router.push({ name: 'SignIn' })
// Get page content
axios
.get('/api/settings', {