5832-232601-dev_test #65

Merged
carlossa merged 4 commits from 5832-232601-dev_test into test 2023-06-26 06:06:22 +00:00
1 changed files with 2 additions and 3 deletions
Showing only changes of commit 1895e4ff98 - Show all commits

View File

@ -1,7 +1,7 @@
import axios from 'axios';
import { Notify } from 'quasar';
import { useSession } from 'src/composables/useSession';
// import { Router } from 'src/router';
import { Router } from 'src/router';
import { i18n } from './i18n';
const session = useSession();
@ -62,8 +62,7 @@ const onResponseError = (error) => {
session.destroy();
const hash = window.location.hash;
const url = hash.slice(1);
window.location.href = url;
// Router.push({ path: url });
Router.push({ path: url });
} else if (!session.isLoggedIn()) {
message = 'login.loginError';
}