From e8de3bd59e47c967ad10c451e520d83eced27eb8 Mon Sep 17 00:00:00 2001 From: Guilherme Branco Stracini Date: Wed, 18 Sep 2024 15:23:29 +0100 Subject: [PATCH] Update IssueItem.js (#277) --- src/Components/Issues/IssueItem.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Components/Issues/IssueItem.js b/src/Components/Issues/IssueItem.js index da142f4..11a7bb4 100644 --- a/src/Components/Issues/IssueItem.js +++ b/src/Components/Issues/IssueItem.js @@ -25,10 +25,12 @@ const IssueItem = ({ issue }) => { const bgColorHighActivity = issue.comments > 5 ? "bg-success" : "bg-warning"; const bgColorComments = issue.comments === 0 ? "bg-danger" : bgColorHighActivity; + const opacity = isStale ? "0.4" : "1.0"; + const title = reactStringReplace(issue.title, /[[(](.+?)[\])]/g, (match, _) => {match}); return ( -
+