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

Reviewed-on: #109
Reviewed-by: Javier Segarra <jsegarra@verdnatura.es>
This commit is contained in:
Javier Segarra 2025-02-21 13:21:38 +00:00
commit efc95493ef
2 changed files with 4 additions and 3 deletions

View File

@ -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 }) => {

View File

@ -336,6 +336,7 @@ export const useUserStore = defineStore('user', () => {
logoutSupplantedUser,
updateUserLang,
init,
$reset
$reset,
onLogin
};
});