diff --git a/src/components/MoneyReportHeader.tsx b/src/components/MoneyReportHeader.tsx index a07c28609187..5d28a85e63ae 100644 --- a/src/components/MoneyReportHeader.tsx +++ b/src/components/MoneyReportHeader.tsx @@ -849,9 +849,9 @@ function MoneyReportHeader({ subMenuItems: Object.values(paymentButtonOptions), }, }; - - const applicableSecondaryActions = secondaryActions.map((action) => secondaryActionsImplementation[action]).filter((action) => action?.shouldShow !== false); - + const applicableSecondaryActions = secondaryActions + .map((action) => secondaryActionsImplementation[action]) + .filter((action) => action?.shouldShow !== false && action?.value !== primaryAction); useEffect(() => { if (!transactionThreadReportID) { return;