diff --git a/src/libs/actions/Report.ts b/src/libs/actions/Report.ts index cf638597ad04..d0e55af85767 100644 --- a/src/libs/actions/Report.ts +++ b/src/libs/actions/Report.ts @@ -1740,6 +1740,8 @@ function deleteReportComment(reportID: string | undefined, reportAction: ReportA // we should navigate to its report in order to not show not found page if (Navigation.isActiveRoute(ROUTES.REPORT_WITH_ID.getRoute(reportID, reportActionID)) && !isDeletedParentAction) { Navigation.goBack(ROUTES.REPORT_WITH_ID.getRoute(reportID)); + } else if (Navigation.isActiveRoute(ROUTES.REPORT_WITH_ID.getRoute(reportAction.childReportID)) && !isDeletedParentAction) { + Navigation.goBack(undefined); } }