add: view users of company

This commit is contained in:
Alexandro Uc Santos
2023-12-30 18:04:42 -06:00
parent 25528cae8f
commit b5f6191874
11 changed files with 219 additions and 72 deletions

View File

@@ -7,13 +7,14 @@
const auth = useAuthStore();
const handleLogout = () => {
auth.$patch({
sesion: '',
token: '',
user: {},
});
localStorage.removeItem('session');
router.push({name: 'login'});
// auth.$patch({
// sesion: '',
// token: '',
// user: {},
// });
// localStorage.removeItem('session');
// router.push({name: 'login'});
auth.logout();
}
</script>