Skip to content

Commit

Permalink
fix: fixed redirected to home
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiantela committed Sep 29, 2023
1 parent eaf428b commit b98cca3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/views/register/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,13 @@ export default {
this.$refs.modalCreatingProject.onCloseClick();
if (!this.haveBeenInvited) {
this.$router.push({
name: 'home',
params: { projectUuid: this.currentProject?.uuid },
});
}
window.dispatchEvent(new CustomEvent('openModalAddedFirstInfos'));
this.$store.commit('UPDATE_PROFILE_INITIAL_INFO_SUCCESS', 'now()');
Expand Down

0 comments on commit b98cca3

Please sign in to comment.