also fix signer mapping ui for rejected and cancelled (#678)
This commit is contained in:
parent
c6d9b8df50
commit
5aa38d2ba1
|
@ -483,17 +483,14 @@ const Proposal = ({
|
|||
{currentProposal.rejected.map((pubkey, idx) => (
|
||||
<>
|
||||
<div className="flex justify-between" key={pubkey.toBase58()}>
|
||||
<div>Key {idx + 1}</div>
|
||||
<div>
|
||||
Key {idx + 1}{' '}
|
||||
{pubkey.toBase58() in multisigSignerKeyToNameMapping
|
||||
? `(${multisigSignerKeyToNameMapping[pubkey.toBase58()]})`
|
||||
: null}
|
||||
</div>
|
||||
<CopyPubkey pubkey={pubkey.toBase58()} />
|
||||
</div>
|
||||
{pubkey.toBase58() in multisigSignerKeyToNameMapping ? (
|
||||
<ParsedAccountPubkeyRow
|
||||
key={`${idx}_${pubkey.toBase58()}_rejected`}
|
||||
mapping={multisigSignerKeyToNameMapping}
|
||||
title="owner"
|
||||
pubkey={pubkey.toBase58()}
|
||||
/>
|
||||
) : null}
|
||||
</>
|
||||
))}
|
||||
</div>
|
||||
|
@ -506,7 +503,12 @@ const Proposal = ({
|
|||
<hr className="border-gray-700" />
|
||||
{currentProposal.cancelled.map((pubkey, idx) => (
|
||||
<div className="flex justify-between" key={pubkey.toBase58()}>
|
||||
<div>Key {idx + 1}</div>
|
||||
<div>
|
||||
Key {idx + 1}{' '}
|
||||
{pubkey.toBase58() in multisigSignerKeyToNameMapping
|
||||
? `(${multisigSignerKeyToNameMapping[pubkey.toBase58()]})`
|
||||
: null}
|
||||
</div>
|
||||
<CopyPubkey pubkey={pubkey.toBase58()} />
|
||||
</div>
|
||||
))}
|
||||
|
|
Loading…
Reference in New Issue