Skip to content

Commit

Permalink
Merge pull request #46 from EqualifyEverything/staging
Browse files Browse the repository at this point in the history
Added back Active Issues statistic to Report Cards
  • Loading branch information
bbertucc authored Aug 10, 2024
2 parents 8165562 + ecacd44 commit 684bbfd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/routes/protected/reports/reports.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ interface Report {
const ReportCard: React.FC<Report> = ({
id,
name,
activeIssues,
mostCommonIssue,
}) => (
<article
Expand All @@ -31,6 +32,9 @@ const ReportCard: React.FC<Report> = ({
</h2>
<div className="mt-2 flex flex-col justify-between gap-3">
<div className="min-w-0">
<p className="mt-2 text-sm text-gray-600">
Active Issues: {activeIssues}
</p>
<p className="text-sm mt-1 text-gray-500">
Most Common:
<div className="overflow-hidden overflow-ellipsis h-16">
Expand Down

0 comments on commit 684bbfd

Please sign in to comment.