diff --git a/src/libs/ReportActionsUtils.ts b/src/libs/ReportActionsUtils.ts index f53e99b52867..b19712758d9a 100644 --- a/src/libs/ReportActionsUtils.ts +++ b/src/libs/ReportActionsUtils.ts @@ -745,6 +745,10 @@ function isReportActionDeprecated(reportAction: OnyxEntry, key: st CONST.REPORT.ACTIONS.TYPE.REIMBURSEMENT_SETUP_REQUESTED, CONST.REPORT.ACTIONS.TYPE.DONATION, CONST.REPORT.ACTIONS.TYPE.REIMBURSED, + + // We're temporarily deprecating the actions below since the feature is still WIP and these actions are being shown as duplicated + CONST.REPORT.ACTIONS.TYPE.UNREPORTED_TRANSACTION, + CONST.REPORT.ACTIONS.TYPE.MOVED_TRANSACTION, ]; if (deprecatedOldDotReportActions.includes(reportAction.actionName)) { Log.info('Front end filtered out reportAction for being an older, deprecated report action', false, reportAction); diff --git a/tests/utils/collections/reportActions.ts b/tests/utils/collections/reportActions.ts index 9a05ba6ad992..21347ad65d27 100644 --- a/tests/utils/collections/reportActions.ts +++ b/tests/utils/collections/reportActions.ts @@ -31,6 +31,8 @@ const deprecatedReportActions: ReportActionName[] = [ CONST.REPORT.ACTIONS.TYPE.REIMBURSEMENT_REQUESTED, CONST.REPORT.ACTIONS.TYPE.REIMBURSEMENT_SETUP_REQUESTED, CONST.REPORT.ACTIONS.TYPE.DONATION, + CONST.REPORT.ACTIONS.TYPE.MOVED_TRANSACTION, + CONST.REPORT.ACTIONS.TYPE.UNREPORTED_TRANSACTION, ] as const; export default function createRandomReportAction(index: number): ReportAction {