fix non-unique bountyPaidTo display
This commit is contained in:
		
							parent
							
								
									fb1e1224c1
								
							
						
					
					
						commit
						14d2573dd2
					
				| @ -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'> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user