style: fix linting issues met Prettier
This commit is contained in:
parent
964eaf928e
commit
bdd102b937
3 changed files with 14 additions and 6 deletions
|
@ -143,7 +143,7 @@ router.beforeEach(async (to, _from, next) => {
|
|||
// Verify if user is logged in before accessing certain routes
|
||||
if (to.meta.requiresAuth) {
|
||||
if (!authService.isLoggedIn.value && !(await authService.loadUser())) {
|
||||
const path = to.fullPath
|
||||
const path = to.fullPath;
|
||||
if (path !== "/") {
|
||||
localStorage.setItem("redirectAfterLogin", path);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue