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