#29 fix: fetch user data on route change after login
This commit is contained in:
@@ -115,6 +115,9 @@
|
||||
},
|
||||
$route() {
|
||||
this.checkAuth();
|
||||
if (this.isAuthenticated && !this.user) {
|
||||
this.fetchUser();
|
||||
}
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user