From 92648b65e4bab72e52bc9fa55efa4acb96fd1aac Mon Sep 17 00:00:00 2001 From: Tim Golen Date: Tue, 26 Sep 2023 06:31:57 +0800 Subject: [PATCH 1/2] Use correct route for workspace invite form --- src/pages/workspace/WorkspaceMembersPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/workspace/WorkspaceMembersPage.js b/src/pages/workspace/WorkspaceMembersPage.js index 5bb8f9755cd3..9eff4eba47ee 100644 --- a/src/pages/workspace/WorkspaceMembersPage.js +++ b/src/pages/workspace/WorkspaceMembersPage.js @@ -136,7 +136,7 @@ function WorkspaceMembersPage(props) { */ const inviteUser = () => { setSearchValue(''); - Navigation.navigate(ROUTES.WORKSPACE_INITIAL.getRoute(props.route.params.policyID)); + Navigation.navigate(ROUTES.WORKSPACE_INVITE.getRoute(props.route.params.policyID)); }; /** From a0f4af2d4b07c7fe1ecc172c2aff16d259759426 Mon Sep 17 00:00:00 2001 From: Tim Golen Date: Tue, 26 Sep 2023 06:44:25 +0800 Subject: [PATCH 2/2] Fix bank account open route --- src/pages/ReimbursementAccount/BankAccountStep.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages/ReimbursementAccount/BankAccountStep.js b/src/pages/ReimbursementAccount/BankAccountStep.js index de5ed03ed823..b01b46f69350 100644 --- a/src/pages/ReimbursementAccount/BankAccountStep.js +++ b/src/pages/ReimbursementAccount/BankAccountStep.js @@ -70,7 +70,11 @@ function BankAccountStep(props) { subStep = CONST.BANK_ACCOUNT.SETUP_TYPE.PLAID; } const plaidDesktopMessage = getPlaidDesktopMessage(); - const bankAccountRoute = `${CONFIG.EXPENSIFY.NEW_EXPENSIFY_URL}${ROUTES.getBankAccountRoute('new', props.policyID, ROUTES.getWorkspaceInitialRoute(props.policyID))}`; + const bankAccountRoute = `${CONFIG.EXPENSIFY.NEW_EXPENSIFY_URL}${ROUTES.BANK_ACCOUNT_WITH_STEP_TO_OPEN.getRoute( + 'new', + props.policyID, + ROUTES.WORKSPACE_INITIAL.getRoute(props.policyID), + )}`; if (subStep === CONST.BANK_ACCOUNT.SETUP_TYPE.MANUAL) { return (