Skip to content

Commit

Permalink
Update src/pages/home/report/ContextMenu/ContextMenuActions.js
Browse files Browse the repository at this point in the history
Co-authored-by: Fedi Rajhi <[email protected]>
  • Loading branch information
StevenKKC and fedirjh authored Sep 26, 2023
1 parent e792362 commit 629cb53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/report/ContextMenu/ContextMenuActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default [
icon: Expensicons.Download,
successTextTranslateKey: 'common.download',
successIcon: Expensicons.Download,
shouldShow: (type, reportAction, isOffline) => {
shouldShow: (type, reportAction, isArchivedRoom, betas, anchor, isChronosReport, reportID, isPinnedChat, isUnreadChat, isOffline) => {
const isAttachment = ReportActionsUtils.isReportActionAttachment(reportAction);
const messageHtml = lodashGet(reportAction, ['message', 0, 'html']);
return isAttachment && messageHtml !== CONST.ATTACHMENT_UPLOADING_MESSAGE_HTML && reportAction.reportActionID && !ReportActionsUtils.isMessageDeleted(reportAction) && !isOffline;
Expand Down

0 comments on commit 629cb53

Please sign in to comment.