π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
[WEB-4915]fix: redirection after onboarding completion #7824
Vamsi Krishna365d2d902ce1
diff --git a/apps/web/core/store/user/profile.store.ts b/apps/web/core/store/user/profile.store.tsindex 9604dda9b5..92ab89897d 100644--- a/apps/web/core/store/user/profile.store.ts+++ b/apps/web/core/store/user/profile.store.ts@@ -168,17 +168,15 @@ export class ProfileStore implements IUserProfileStore {// update user onboarding statusawait this.userService.updateUserOnBoard();- // update the user profile store- runInAction(() => {- this.mutateUserProfile({ ...dataToUpdate, is_onboarded: true });- });-- // Also fetch from backend to ensure consistency and refresh user settings with cache-busting- Promise.all([+ // Wait for user settings to be refreshed with cache-busting before updating onboarding status+ await Promise.all([this.fetchUserProfile(),this.store.user.userSettings.fetchCurrentUserSettings(true), // Cache-busting enabled- ]).catch((error) => {- console.error("Background sync failed:", error);+ ]);++ // Only after settings are refreshed, update the user profile store to mark as onboarded+ runInAction(() => {+ this.mutateUserProfile({ ...dataToUpdate, is_onboarded: true });});} catch (error) {runInAction(() => {