fix: login console error on refresh

This commit is contained in:
WDaan 2022-10-11 07:34:09 +02:00
parent 13e6584c5d
commit 254d7c8562

View file

@ -30,7 +30,7 @@ export default {
return this.getAuthenticated()
},
onLoginPage() {
return this.$router.currentRoute.name.includes('login')
return this.$router.currentRoute.name?.includes('login')
}
},
created() {