From 01fa9cb5cbc14f38cd3256440fa3f04f16f22cd5 Mon Sep 17 00:00:00 2001 From: Daniel Gale-Rosen Date: Mon, 14 Apr 2025 15:24:51 -0400 Subject: [PATCH] use the right key --- src/libs/SidebarUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {