fix(editor): Hard load after logout to reset stores (no-changelog) (#9500)
This commit is contained in:
@@ -22,7 +22,7 @@ export default defineComponent({
|
||||
async logout() {
|
||||
try {
|
||||
await this.usersStore.logout();
|
||||
void this.$router.replace({ name: VIEWS.SIGNIN });
|
||||
window.location.href = this.$router.resolve({ name: VIEWS.SIGNIN }).href;
|
||||
} catch (e) {
|
||||
this.showError(e, this.$locale.baseText('auth.signout.error'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user