diff --git a/src/libs/ReportActionsUtils.ts b/src/libs/ReportActionsUtils.ts index bda96e01fbe69..ce056973d4d45 100644 --- a/src/libs/ReportActionsUtils.ts +++ b/src/libs/ReportActionsUtils.ts @@ -506,6 +506,12 @@ function isReportActionDeprecated(reportAction: OnyxEntry, key: st return true; } + const deprecatedOldDotReportActions = ['DELETEDACCOUNT', 'REIMBURSEMENTREQUESTED', 'REIMBURSEMENTSETUPREQUESTED', 'DONATION']; + if (deprecatedOldDotReportActions.includes(String(reportAction.actionName))) { + Log.info('Front end filtered out reportAction for being an older, deprecated report action', false, reportAction); + return true; + } + return false; }