Skip to content

Commit

Permalink
fix: conditional on cps column
Browse files Browse the repository at this point in the history
  • Loading branch information
robcxyz committed Feb 2, 2024
1 parent 2435ce9 commit 09f8838
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/GovernancePage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,9 @@ class TableRow extends Component {
</li>
</ul>
</td>
<td>{cps_governance ? (sponsored_cps_grants ? '✓' : 0) : '-'}</td>
<td>
{cps_governance ? (sponsored_cps_grants === 0 || sponsored_cps_grants === null ? '✓' : sponsored_cps_grants) : '-'}
</td>
<td>
<span>{productivity !== 'None' ? productivity : '0.00%'}</span>
<em>
Expand Down

0 comments on commit 09f8838

Please sign in to comment.