mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-03-14 12:10:18 +03:00
fix: login console error on refresh
This commit is contained in:
parent
13e6584c5d
commit
254d7c8562
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue