Ajustando menú por rol de usuario #29 #32

Merged
mono merged 8 commits from adjust_menu_by_rol_#29 into main 2026-03-14 23:02:00 -05:00
Showing only changes of commit 974c84fdb2 - Show all commits

View File

@@ -109,14 +109,17 @@
this.fetchUser();
}
},
watch: {
group () {
this.drawer = false
},
$route() {
this.checkAuth();
},
},
watch: {
group () {
this.drawer = false
},
$route() {
this.checkAuth();
if (this.isAuthenticated && !this.user) {
this.fetchUser();
}
},
},
methods: {
checkAuth() {
this.isAuthenticated = AuthService.isAuthenticated();