Skip to content

Commit 365d037

Browse files
committed
Implement new parameter
1 parent 6baa0d1 commit 365d037

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pages/home/report/ContextMenu/ContextMenuActions.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,11 +269,11 @@ const ContextMenuActions: ContextMenuAction[] = [
269269
isAnonymousAction: false,
270270
textTranslateKey: 'reportActionContextMenu.replyInThread',
271271
icon: Expensicons.ChatBubbleReply,
272-
shouldShow: ({type, reportAction, reportID, isThreadReportParentAction}) => {
272+
shouldShow: ({type, reportAction, reportID, isThreadReportParentAction, isArchivedRoom}) => {
273273
if (type !== CONST.CONTEXT_MENU_TYPES.REPORT_ACTION || !reportID) {
274274
return false;
275275
}
276-
return !shouldDisableThread(reportAction, reportID, isThreadReportParentAction);
276+
return !shouldDisableThread(reportAction, reportID, isThreadReportParentAction, isArchivedRoom);
277277
},
278278
onPress: (closePopover, {reportAction, reportID}) => {
279279
const originalReportID = getOriginalReportID(reportID, reportAction);

0 commit comments

Comments
 (0)