Skip to content

Commit

Permalink
Merge pull request #36162 from esh-g/switcher-check
Browse files Browse the repository at this point in the history
Fix workspace switcher creating new workspace
  • Loading branch information
amyevans authored Feb 23, 2024
2 parents e62c98d + 1f6e951 commit ad509be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/WorkspaceSwitcherPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ function WorkspaceSwitcherPage({policies}: WorkspaceSwitcherPageProps) {
accessible={false}
role={CONST.ROLE.BUTTON}
onPress={() => {
Navigation.goBack();
App.createWorkspaceWithPolicyDraftAndNavigateToIt();
}}
>
Expand Down

0 comments on commit ad509be

Please sign in to comment.