Merge pull request 'Fix photo view and login tests' (!109) from wbuezas/hedera-web-mindshore:fix-some-tests into beta
gitea/hedera-web/pipeline/head This commit looks good
Details
gitea/hedera-web/pipeline/head This commit looks good
Details
Reviewed-on: #109 Reviewed-by: Javier Segarra <jsegarra@verdnatura.es>
This commit is contained in:
commit
efc95493ef
|
@ -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