fix non-unique bountyPaidTo display

This commit is contained in:
keyan 2023-09-18 19:15:02 -05:00
parent fb1e1224c1
commit 14d2573dd2
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ function TopLevelItem ({ item, noReply, ...props }) {
? ( ? (
<div className='px-3 py-1 d-inline-block bg-grey-medium rounded text-success'> <div className='px-3 py-1 d-inline-block bg-grey-medium rounded text-success'>
<Check className='fill-success' /> {numWithUnits(item.bounty, { abbreviate: false, format: true })} paid <Check className='fill-success' /> {numWithUnits(item.bounty, { abbreviate: false, format: true })} paid
{item.bountyPaidTo.length > 1 && <small className='fw-light'> {item.bountyPaidTo.length} times</small>} {item.bountyPaidTo.length > 1 && <small className='fw-light'> {new Set(item.bountyPaidTo).size} times</small>}
</div>) </div>)
: ( : (
<div className='px-3 py-1 d-inline-block bg-grey-darkmode rounded text-light'> <div className='px-3 py-1 d-inline-block bg-grey-darkmode rounded text-light'>