Skip to content

Commit

Permalink
Merge pull request #44668 from truph01/fix/44035
Browse files Browse the repository at this point in the history
Fix: After inviting a member navigating back takes you back to members page
  • Loading branch information
thienlnam authored Jul 8, 2024
2 parents 547336d + d686ba9 commit c5c4ea8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/workspace/WorkspaceInviteMessagePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,7 @@ function WorkspaceInviteMessagePage({
Member.addMembersToWorkspace(invitedEmailsToAccountIDsDraft ?? {}, `${welcomeNoteSubject}\n\n${welcomeNote}`, route.params.policyID);
debouncedSaveDraft(null);
SearchInputManager.searchInput = '';
// Pop the invite message page before navigating to the members page.
Navigation.goBack();
Navigation.navigate(ROUTES.WORKSPACE_MEMBERS.getRoute(route.params.policyID));
Navigation.dismissModal();
};

/** Opens privacy url as an external link */
Expand Down

0 comments on commit c5c4ea8

Please sign in to comment.