diff --git a/src/libs/ReportUtils.ts b/src/libs/ReportUtils.ts index 6eb5dbbed55a..9b85506766a8 100644 --- a/src/libs/ReportUtils.ts +++ b/src/libs/ReportUtils.ts @@ -1439,7 +1439,7 @@ function canDeleteReportAction(reportAction: OnyxEntry, reportID: return false; } - const linkedReport = isChatThread(report) ? getReport(report?.parentReportID) : report; + const linkedReport = isThreadFirstChat(reportAction, reportID) ? getReport(report?.parentReportID) : report; if (isActionOwner) { if (!isEmptyObject(linkedReport) && isMoneyRequestReport(linkedReport)) { return canAddOrDeleteTransactions(linkedReport);