Fix multisig for >2 thresholds (#7589)

This commit is contained in:
Jaco 2022-05-16 13:34:55 +02:00 committed by GitHub
parent c4f95844fe
commit d13630bc9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -277,7 +277,7 @@ function MultisigApprove ({ className = '', onClose, ongoing, threshold, who }:
accountId={signatory}
extrinsic={tx}
icon={isAye ? 'check' : 'times'}
isDisabled={!tx || (isAye && !whoFilter.length) || !callLength}
isDisabled={!tx || (isAye && (!whoFilter.length || (!!callData && !callLength)))}
label={isAye ? 'Approve' : 'Reject'}
onStart={onClose}
/>