diff --git a/src/libs/ReportUtils.js b/src/libs/ReportUtils.js index d1a2a8a40e25..7f247e6a649f 100644 --- a/src/libs/ReportUtils.js +++ b/src/libs/ReportUtils.js @@ -1612,7 +1612,7 @@ function getReportName(report, policy = undefined) { * @returns {Object} */ function getRootReportAndWorkspaceName(report) { - if (isChildReport(report) && !isMoneyRequestReport(report)) { + if (isChildReport(report) && !isMoneyRequestReport(report) && !isTaskReport(report)) { const parentReport = lodashGet(allReports, [`${ONYXKEYS.COLLECTION.REPORT}${report.parentReportID}`]); return getRootReportAndWorkspaceName(parentReport); }