Fix pending in review.

This commit is contained in:
Will O'Beirne 2018-11-16 14:19:13 -05:00
parent c1d7b88924
commit 8eeee61498
No known key found for this signature in database
GPG Key ID: 44C190DB5DEAF9F6
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ const ReviewTeam: React.SFC<{
</div>
</div>
))}
{!!invites.length && (
{!!invites.filter(inv => inv.accepted === null).length && (
<div className="ReviewTeam-invites">+ {invites.length} invite(s) pending</div>
)}
</div>