asdek; hotfixy

This commit is contained in:
2024-03-04 18:14:42 +01:00
parent f7eeaa342a
commit c3b8ed9359
5 changed files with 13 additions and 5 deletions
+5 -1
View File
@@ -20,6 +20,10 @@ router.beforeEach((to, from, next) => {
return;
}
if (to.meta.loginPage && window.localStorage.getItem('user')) {
next('/');
return;
}
next();
});