mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Fixed Recommending you paid subscriber logic
refs https://github.com/TryGhost/Product/issues/3891
This commit is contained in:
parent
b5f110aabf
commit
d38e185c64
1 changed files with 2 additions and 1 deletions
|
@ -64,7 +64,8 @@ const IncomingRecommendationItem: React.FC<{mention: Mention, stats: ReferrerHis
|
|||
</TableCell>
|
||||
{hasPaidColumn &&
|
||||
<TableCell className='hidden align-middle md:!visible md:!table-cell' onClick={showDetails}>
|
||||
{paidConversions === 0 ? <span className="text-grey-500">-</span> : (<div className='-mt-px flex grow items-end gap-1'><span>{paidConversions}</span><span className='whitespace-nowrap text-xs text-grey-700'>paid members</span></div>)}
|
||||
{paidConversions === 0 && <span className="text-grey-500">-</span>}
|
||||
{paidConversions > 0 && (<div className='-mt-px flex grow items-end gap-1'><span>{paidConversions}</span><span className='whitespace-nowrap text-xs text-grey-700'>paid members</span></div>)}
|
||||
</TableCell>
|
||||
}
|
||||
</TableRow>
|
||||
|
|
Loading…
Add table
Reference in a new issue