Skip to content

Commit

Permalink
fix: login console error on refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
WDaan committed Oct 11, 2022
1 parent 13e6584 commit 254d7c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 254d7c8

Please sign in to comment.