From 06230551ba60d49b48df5b23b46480743bd764ec Mon Sep 17 00:00:00 2001 From: dukenv0307 Date: Fri, 13 Oct 2023 10:02:37 +0700 Subject: [PATCH] allow reply in thread for task system and modified messsage --- src/pages/home/report/ContextMenu/ContextMenuActions.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/home/report/ContextMenu/ContextMenuActions.js b/src/pages/home/report/ContextMenu/ContextMenuActions.js index 6c9970bde796..c2a194034f9f 100644 --- a/src/pages/home/report/ContextMenu/ContextMenuActions.js +++ b/src/pages/home/report/ContextMenu/ContextMenuActions.js @@ -128,7 +128,9 @@ export default [ const isCommentAction = reportAction.actionName === CONST.REPORT.ACTIONS.TYPE.ADDCOMMENT && !ReportUtils.isThreadFirstChat(reportAction, reportID); const isReportPreviewAction = reportAction.actionName === CONST.REPORT.ACTIONS.TYPE.REPORTPREVIEW; const isIOUAction = reportAction.actionName === CONST.REPORT.ACTIONS.TYPE.IOU && !ReportActionsUtils.isSplitBillAction(reportAction); - return isCommentAction || isReportPreviewAction || isIOUAction; + const isModifiedExpenseAction = ReportActionsUtils.isModifiedExpenseAction(reportAction); + const isTaskAction = ReportActionsUtils.isTaskAction(reportAction); + return isCommentAction || isReportPreviewAction || isIOUAction || isModifiedExpenseAction || isTaskAction; }, onPress: (closePopover, {reportAction, reportID}) => { if (closePopover) {