Skip to content

Commit

Permalink
Merge pull request #38120 from gijoe0295/gijoe/37534
Browse files Browse the repository at this point in the history
Fix: App switches to Expensify when create room under the same workspace
  • Loading branch information
robertjchen authored Mar 13, 2024
2 parents 5ec1325 + 21991f4 commit 91d7eb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/Report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1857,7 +1857,7 @@ function addPolicyReport(policyReport: ReportUtils.OptimisticChatReport) {
};

API.write(WRITE_COMMANDS.ADD_WORKSPACE_ROOM, parameters, {optimisticData, successData, failureData});
Navigation.dismissModal(policyReport.reportID);
Navigation.dismissModalWithReport(policyReport);
}

/** Deletes a report, along with its reportActions, any linked reports, and any linked IOU report. */
Expand Down

0 comments on commit 91d7eb2

Please sign in to comment.