File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -281,11 +281,8 @@ const ContextMenuActions: ContextMenuAction[] = [
281
281
const shouldDisplayThreadReplies = ReportUtils . shouldDisplayThreadReplies ( reportAction , reportID ) ;
282
282
const subscribed = childReportNotificationPreference !== 'hidden' ;
283
283
const isCommentAction = reportAction ?. actionName === CONST . REPORT . ACTIONS . TYPE . ADDCOMMENT && ! ReportUtils . isThreadFirstChat ( reportAction , reportID ) ;
284
- const isReportPreviewAction = reportAction ?. actionName === CONST . REPORT . ACTIONS . TYPE . REPORTPREVIEW ;
285
- const isIOUAction = reportAction ?. actionName === CONST . REPORT . ACTIONS . TYPE . IOU && ! ReportActionsUtils . isSplitBillAction ( reportAction ) ;
286
-
287
284
const isWhisperAction = ReportActionsUtils . isWhisperAction ( reportAction ) ;
288
- return ! subscribed && ! isWhisperAction && ( isCommentAction || isReportPreviewAction || isIOUAction ) && ( ! isDeletedAction || shouldDisplayThreadReplies ) ;
285
+ return ! subscribed && ! isWhisperAction && isCommentAction && ( ! isDeletedAction || shouldDisplayThreadReplies ) ;
289
286
} ,
290
287
onPress : ( closePopover , { reportAction, reportID} ) => {
291
288
const childReportNotificationPreference = ReportUtils . getChildReportNotificationPreference ( reportAction ) ;
You can’t perform that action at this time.
0 commit comments