Skip to content

Commit

Permalink
use isIOUAction variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dukenv0307 committed Dec 20, 2023
1 parent 6b13916 commit 1021547
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 @@ -148,7 +148,7 @@ export default [
const isTaskAction = ReportActionsUtils.isTaskAction(reportAction);
const isWhisperAction = ReportActionsUtils.isWhisperAction(reportAction);
return (
(!isWhisperAction || reportAction.actionName === CONST.REPORT.ACTIONS.TYPE.IOU || isReportPreviewAction) &&
(!isWhisperAction || isIOUAction || isReportPreviewAction) &&
(isCommentAction || isReportPreviewAction || isIOUAction || isModifiedExpenseAction || isTaskAction) &&
!ReportUtils.isThreadFirstChat(reportAction, reportID)
);
Expand Down

0 comments on commit 1021547

Please sign in to comment.