Adjust multisig check (#3182)
* Cleanup multisig check * Remove finalized without grandpa
This commit is contained in:
parent
d936db58de
commit
94193941fc
@ -218,7 +218,7 @@ function Overview ({ className = '', onStatusChange }: Props): React.ReactElemen
|
||||
)}
|
||||
<Button
|
||||
icon='plus'
|
||||
isDisabled={!api.tx.multisig && api.tx.utility}
|
||||
isDisabled={!(api.tx.multisig || api.tx.utility)}
|
||||
label={t<string>('Multisig')}
|
||||
onClick={toggleMultisig}
|
||||
/>
|
||||
|
||||
@ -40,9 +40,11 @@ function Summary (): React.ReactElement {
|
||||
<SummarySession withEra={false} />
|
||||
</section>
|
||||
<section>
|
||||
<CardSummary label={t<string>('finalized')}>
|
||||
<BestFinalized />
|
||||
</CardSummary>
|
||||
{api.query.grandpa && (
|
||||
<CardSummary label={t<string>('finalized')}>
|
||||
<BestFinalized />
|
||||
</CardSummary>
|
||||
)}
|
||||
<CardSummary label={t<string>('best')}>
|
||||
<BestNumber />
|
||||
</CardSummary>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user