diff --git a/src/libs/SidebarUtils.ts b/src/libs/SidebarUtils.ts index 10d85893ec09..225b8a100d00 100644 --- a/src/libs/SidebarUtils.ts +++ b/src/libs/SidebarUtils.ts @@ -291,7 +291,7 @@ function getOrderedReportIDs( const isPinned = report?.isPinned ?? false; const reportAction = getReportAction(report?.parentReportID, report?.parentReportActionID); - const rNVPs = reportNameValuePairs?.[report?.reportID]; + const rNVPs = reportNameValuePairs?.[`${ONYXKEYS.COLLECTION.REPORT_NAME_VALUE_PAIRS}${report?.reportID}`]; if (isPinned || requiresAttentionFromCurrentUser(report, reportAction)) { pinnedAndGBRReports.push(miniReport); } else if (report?.hasErrorsOtherThanFailedReceipt) {