From 14bac09273d4e73d1a6c2954b0b45758a6237182 Mon Sep 17 00:00:00 2001 From: Bernhard Owen Josephus Date: Fri, 23 Feb 2024 16:24:38 +0800 Subject: [PATCH 1/6] fix workspace system message when contains markdown isn't grayed out --- src/pages/home/report/ReportActionItem.js | 13 ------------- src/pages/home/report/ReportActionItemFragment.tsx | 14 +++++++++++++- src/pages/home/report/ReportActionItemMessage.tsx | 2 ++ .../home/report/comment/TextCommentFragment.tsx | 11 +++++++++-- 4 files changed, 24 insertions(+), 16 deletions(-) diff --git a/src/pages/home/report/ReportActionItem.js b/src/pages/home/report/ReportActionItem.js index 66394190fde..b6d83a55861 100644 --- a/src/pages/home/report/ReportActionItem.js +++ b/src/pages/home/report/ReportActionItem.js @@ -483,19 +483,6 @@ function ReportActionItem(props) { action={props.action} displayAsGroup={props.displayAsGroup} isHidden={isHidden} - style={[ - _.contains( - [ - ..._.values(CONST.REPORT.ACTIONS.TYPE.POLICYCHANGELOG), - CONST.REPORT.ACTIONS.TYPE.IOU, - CONST.REPORT.ACTIONS.TYPE.APPROVED, - CONST.REPORT.ACTIONS.TYPE.MOVED, - ], - props.action.actionName, - ) - ? styles.colorMuted - : undefined, - ]} /> {hasBeenFlagged && (