Skip to content

Commit

Permalink
Update IssueItem.js (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
guibranco authored Sep 18, 2024
1 parent b384e40 commit e8de3bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Components/Issues/IssueItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -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, _) => <span className="badge bg-info">{match}</span>);

return (
<div className="card border-default mb-3 col-lg-3">
<div className="card border-default mb-3 col-lg-3" style={{ opacity: opacity }}>
<div className="card-header">
<Link to={organizationUrl}>
<img
Expand Down

0 comments on commit e8de3bd

Please sign in to comment.