Hide unbond funds when active is 0 (#3115)
This commit is contained in:
parent
ccfada0da9
commit
a6d81c9530
@ -246,7 +246,7 @@ function Account ({ className = '', info: { controllerId, destination, destinati
|
||||
{t<string>('Bond more funds')}
|
||||
</Menu.Item>
|
||||
<Menu.Item
|
||||
disabled={!isOwnController}
|
||||
disabled={!isOwnController || !stakingAccount || !stakingAccount.stakingLedger || stakingAccount.stakingLedger.active.isEmpty}
|
||||
onClick={toggleUnbond}
|
||||
>
|
||||
{t<string>('Unbond funds')}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user