Fix bond more isDisabled check (#4278)

This commit is contained in:
Jaco Greeff 2020-12-28 21:28:54 +01:00 committed by GitHub
parent 048c733cb1
commit 5e3c9185d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -277,7 +277,7 @@ function Account ({ allSlashes, className = '', info: { controllerId, destinatio
vertical
>
<Menu.Item
disabled={!isOwnStash && !balancesAll?.freeBalance.gtn(0)}
disabled={!isOwnStash || !balancesAll?.freeBalance.gtn(0)}
onClick={toggleBondExtra}
>
{t<string>('Bond more funds')}