Skip to content

Commit

Permalink
Merge pull request Expensify#22009 from bernhardoj/fix/19996
Browse files Browse the repository at this point in the history
Close the report screen when deleted before going to Concierge chat
  • Loading branch information
robertjchen authored Jul 3, 2023
2 parents 2ed613d + d933747 commit b7004b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libs/actions/Report.js
Original file line number Diff line number Diff line change
Expand Up @@ -1316,6 +1316,8 @@ function deleteReport(reportID) {
* @param {String} reportID The reportID of the policy report (workspace room)
*/
function navigateToConciergeChatAndDeleteReport(reportID) {
// Dismiss the current report screen and replace it with Concierge Chat
Navigation.goBack();
navigateToConciergeChat();
deleteReport(reportID);
}
Expand Down

0 comments on commit b7004b9

Please sign in to comment.