Remove balance from commission display (#2058)

* Remove balance from commission display

* Adjust controller mini padding
This commit is contained in:
Jaco Greeff 2019-12-15 14:43:16 +01:00 committed by GitHub
parent dcf46aa9e1
commit 5f9f14c428
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,8 +176,9 @@ function Account ({ allStashes, className, isOwnStash, next, onUpdateType, staki
)}
<AddressSmall value={stashId} />
</td>
<td className='top'>
<td className='top '>
<AddressMini
className='mini-nopad'
label={t('controller')}
value={controllerId}
/>
@ -189,7 +190,7 @@ function Account ({ allStashes, className, isOwnStash, next, onUpdateType, staki
available: false,
bonded: true,
free: false,
redeemable: false,
redeemable: true,
unlocking: true
}}
withRewardDestination
@ -200,13 +201,7 @@ function Account ({ allStashes, className, isOwnStash, next, onUpdateType, staki
<td className='top'>
<AddressInfo
address={stashId}
withBalance={{
available: false,
bonded: false,
free: false,
redeemable: true,
unlocking: true
}}
withBalance={false}
withHexSessionId={isSubstrateV2 && hexSessionIdNext !== '0x' && [hexSessionIdQueue, hexSessionIdNext]}
withValidatorPrefs
/>
@ -357,5 +352,9 @@ export default translate(
margin-right: 0.25rem;
vertical-align: inherit;
}
.mini-nopad {
padding: 0;
}
`
);