Skip to content

Commit

Permalink
Merge pull request #46141 from Expensify/francois-export-button-thread
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisl authored Jul 24, 2024
2 parents be3403f + 3f768a0 commit 0871797
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/ReportDetailsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ function ReportDetailsPage({policies, report, session, personalDetails}: ReportD
});
}

if (policy && connectedIntegration && isPolicyAdmin && !isSingleTransactionView) {
if (policy && connectedIntegration && isPolicyAdmin && !isSingleTransactionView && isExpenseReport) {
items.push({
key: CONST.REPORT_DETAILS_MENU_ITEM.EXPORT,
translationKey: 'common.export',
Expand Down Expand Up @@ -447,6 +447,7 @@ function ReportDetailsPage({policies, report, session, personalDetails}: ReportD
leaveChat,
canUnapproveRequest,
unapproveExpenseReportOrShowModal,
isExpenseReport,
]);

const displayNamesWithTooltips = useMemo(() => {
Expand Down

0 comments on commit 0871797

Please sign in to comment.