Skip to content

Commit

Permalink
fix: coverage total is a number
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed May 10, 2021
1 parent 1eff417 commit 3aaf48e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/blocks/src/ComponentStats/ComponentStats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const ComponentStats: FC<{
color="status_failed"
/>
)}
{coverage.total && (
{!!coverage.total && (
<Shield
label="coverage"
title={`tests coverage by ${minCovField.field}`}
Expand Down

0 comments on commit 3aaf48e

Please sign in to comment.