File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7943,11 +7943,8 @@ function getNavigationUrlAfterTrackExpenseDelete(
79437943 return getNavigationUrlOnMoneyRequestDelete(transactionID, reportAction, isSingleTransactionView);
79447944 }
79457945
7946- const transactionThreadID = reportAction.childReportID;
7947- const shouldDeleteTransactionThread = transactionThreadID ? (reportAction?.childVisibleActionCount ?? 0) === 0 : false;
7948-
79497946 // Only navigate if in single transaction view and the thread will be deleted
7950- if (isSingleTransactionView && shouldDeleteTransactionThread && chatReport?.reportID) {
7947+ if (isSingleTransactionView && chatReport?.reportID) {
79517948 // Pop the deleted report screen before navigating. This prevents navigating to the Concierge chat due to the missing report.
79527949 return ROUTES.REPORT_WITH_ID.getRoute(chatReport.reportID);
79537950 }
You can’t perform that action at this time.
0 commit comments