Skip to content

Commit ad509be

Browse files
authored
Merge pull request #36162 from esh-g/switcher-check
Fix workspace switcher creating new workspace
2 parents e62c98d + 1f6e951 commit ad509be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pages/WorkspaceSwitcherPage.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ function WorkspaceSwitcherPage({policies}: WorkspaceSwitcherPageProps) {
218218
accessible={false}
219219
role={CONST.ROLE.BUTTON}
220220
onPress={() => {
221+
Navigation.goBack();
221222
App.createWorkspaceWithPolicyDraftAndNavigateToIt();
222223
}}
223224
>

0 commit comments

Comments
 (0)