You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: resolve parent report action from raw Onyx collection
Use direct REPORT_ACTIONS key lookup for requestParentReportAction so
Hold/Unhold keep working when the parent IOU is filtered or unpaginated.
Co-authored-by: Cursor <cursoragent@cursor.com>
reportActions?.find((action): action is OnyxTypes.ReportAction<typeofCONST.REPORT.ACTIONS.TYPE.IOU>=>action.reportActionID===transactionThreadReport?.parentReportActionID)??
34
-
null;
36
+
// Parent lookup uses the raw Onyx collection so Hold/Unhold still work when the parent IOU is
37
+
// filtered from the report view (e.g. deleted money request) or outside the paginated window.
0 commit comments