diff --git a/js/src/components/NavBar.vue b/js/src/components/NavBar.vue index 3a0ca7a32..6413dd149 100755 --- a/js/src/components/NavBar.vue +++ b/js/src/components/NavBar.vue @@ -285,6 +285,11 @@ export default class NavBar extends Vue { // If we don't have any identities, the user has validated their account, // is logging for the first time but didn't create an identity somehow if (this.identities.length === 0) { + console.debug( + "We have no identities listed for current user", + this.identities + ); + console.debug("Pushing route to REGISTER_PROFILE"); try { await this.$router.push({ name: RouteName.REGISTER_PROFILE, diff --git a/js/src/views/Home.vue b/js/src/views/Home.vue index 09259343c..fb4765135 100644 --- a/js/src/views/Home.vue +++ b/js/src/views/Home.vue @@ -414,7 +414,6 @@ import Subtitle from "../components/Utils/Subtitle.vue"; DateComponent, EventParticipationCard, MultiCard, - "settings-onboard": () => import("./User/SettingsOnboard.vue"), }, metaInfo() { return { @@ -577,7 +576,9 @@ export default class Home extends Vue { @Watch("loggedUser") detectEmptyUserSettings(loggedUser: IUser): void { + console.debug("Try to detect empty user settings", loggedUser); if (loggedUser?.id && loggedUser?.settings === null) { + console.debug("No user settings, pushing to onboarding assistant"); this.$router.push({ name: RouteName.WELCOME_SCREEN, params: { step: "1" }, diff --git a/js/src/views/User/SettingsOnboard.vue b/js/src/views/User/SettingsOnboard.vue index 5a94c03a7..35f4687f9 100644 --- a/js/src/views/User/SettingsOnboard.vue +++ b/js/src/views/User/SettingsOnboard.vue @@ -49,7 +49,8 @@