diff --git a/src/pages/home/report/ContextMenu/ContextMenuActions.js b/src/pages/home/report/ContextMenu/ContextMenuActions.js index 57dc76f233b1..cab49dcc3c9c 100644 --- a/src/pages/home/report/ContextMenu/ContextMenuActions.js +++ b/src/pages/home/report/ContextMenu/ContextMenuActions.js @@ -40,7 +40,7 @@ const CONTEXT_MENU_TYPES = { export default [ { shouldKeepOpen: true, - shouldShow: (type, reportAction) => reportAction.actionName !== CONST.REPORT.ACTIONS.TYPE.IOU, + shouldShow: (type, reportAction) => type === CONTEXT_MENU_TYPES.REPORT_ACTION && _.has(reportAction, 'message') && reportAction.actionName !== CONST.REPORT.ACTIONS.TYPE.IOU, renderContent: (closePopover, { reportID, reportAction, close: closeManually, openContextMenu, }) => { @@ -73,11 +73,6 @@ export default [ ); } - const hasMessage = _.has(reportAction, 'message'); - if (!hasMessage) { - // It happens when we long-press on a link. We can only provide a reaction for messages - return null; - } return (