diff --git a/src/pages/ReportDetailsPage.tsx b/src/pages/ReportDetailsPage.tsx index 9e438f0549e2..296a2d51e283 100644 --- a/src/pages/ReportDetailsPage.tsx +++ b/src/pages/ReportDetailsPage.tsx @@ -375,7 +375,7 @@ function ReportDetailsPage({policies, report, route}: ReportDetailsPageProps) { }); } - if (isTrackExpenseReport) { + if (isTrackExpenseReport && !isDeletedParentAction) { const actionReportID = ReportUtils.getOriginalReportID(report.reportID, parentReportAction) ?? '0'; const whisperAction = ReportActionsUtils.getTrackExpenseActionableWhisper(iouTransactionID, moneyRequestReport?.reportID ?? '0'); const actionableWhisperReportActionID = whisperAction?.reportActionID ?? '0'; @@ -561,6 +561,7 @@ function ReportDetailsPage({policies, report, route}: ReportDetailsPageProps) { iouTransactionID, parentReportAction, moneyRequestReport?.reportID, + isDeletedParentAction, ]); const displayNamesWithTooltips = useMemo(() => {