Skip to content

Commit

Permalink
Merge pull request #22262 from Pujan92/fix/21412
Browse files Browse the repository at this point in the history
Fix: Add Workspace member "Invitation message" page appears when accessing via deeplink
  • Loading branch information
marcaaron authored Jul 5, 2023
2 parents 7036597 + db4ef51 commit 6e03e54
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/workspace/WorkspaceInviteMessagePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ class WorkspaceInviteMessagePage extends React.Component {
}

componentDidMount() {
if (_.isEmpty(this.props.invitedEmailsToAccountIDsDraft)) {
Navigation.goBack(ROUTES.getWorkspaceInviteRoute(this.props.route.params.policyID), true);
return;
}
this.focusWelcomeMessageInput();
}

Expand Down

0 comments on commit 6e03e54

Please sign in to comment.