#28 fix: update auth state on route change

This commit is contained in:
mono
2026-03-07 16:48:24 -05:00
parent 6088623415
commit 3112c82bb2

View File

@@ -77,11 +77,14 @@
mounted() { mounted() {
this.checkAuth(); this.checkAuth();
}, },
watch: { watch: {
group () { group () {
this.drawer = false this.drawer = false
}, },
}, $route() {
this.checkAuth();
},
},
methods: { methods: {
checkAuth() { checkAuth() {
this.isAuthenticated = AuthService.isAuthenticated(); this.isAuthenticated = AuthService.isAuthenticated();