Fix tests
gitea/hedera-web/pipeline/pr-beta This commit looks good
Details
gitea/hedera-web/pipeline/pr-beta This commit looks good
Details
This commit is contained in:
parent
16cc55da0c
commit
4d91014fc2
|
@ -40,9 +40,9 @@ const onResponseError = error => {
|
|||
|
||||
Router.push({ name: 'login' });
|
||||
userStore.destroy(false);
|
||||
} else if (!userStore.isLoggedIn) {
|
||||
return Promise.reject(error);
|
||||
}
|
||||
|
||||
return Promise.reject(error);
|
||||
};
|
||||
|
||||
export default boot(({ app }) => {
|
||||
|
|
|
@ -336,6 +336,7 @@ export const useUserStore = defineStore('user', () => {
|
|||
logoutSupplantedUser,
|
||||
updateUserLang,
|
||||
init,
|
||||
$reset
|
||||
$reset,
|
||||
onLogin
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue