Hide nominations when 0 (#2296)

This commit is contained in:
Jaco Greeff 2020-02-20 16:38:02 +01:00 committed by GitHub
parent 35b3746749
commit 3e687e1379
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,7 +197,7 @@ export default function Address ({ address, className, filter, filterName, hasQu
)}
</td>
<td className={'toggle number'} colSpan={isExpanded ? 5 : 1} onClick={_toggleNominators}>
{stakeOther && (
{stakeOther?.gtn(0) && (
isExpanded
? (
<div>