Skip to content

Commit

Permalink
Merge pull request Expensify#27127 from tienifr/fix/26250
Browse files Browse the repository at this point in the history
Fix: Leaving thread navigates to Concierge page
  • Loading branch information
roryabraham authored Sep 20, 2023
2 parents 0df5586 + 319365f commit f821a37
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libs/actions/Report.js
Original file line number Diff line number Diff line change
Expand Up @@ -1822,6 +1822,10 @@ function leaveRoom(reportID) {
if (Navigation.getTopmostReportId() === reportID) {
Navigation.goBack(ROUTES.HOME);
}
if (report.parentReportID) {
Navigation.navigate(ROUTES.getReportRoute(report.parentReportID), CONST.NAVIGATION.TYPE.FORCED_UP);
return;
}
navigateToConciergeChat();
}

Expand Down

0 comments on commit f821a37

Please sign in to comment.