Small button ordering sdj. (tip & proposals) (#4909)
This commit is contained in:
parent
641c8bd7fb
commit
005e3ad1c3
@ -54,15 +54,15 @@ function Proposal ({ className = '', value: { balance, image, imageHash, index,
|
||||
</td>
|
||||
<td className='button'>
|
||||
<Button.Group>
|
||||
{!image?.proposal && (
|
||||
<PreImageButton imageHash={imageHash} />
|
||||
)}
|
||||
<Seconding
|
||||
deposit={balance}
|
||||
depositors={seconds || []}
|
||||
image={image}
|
||||
proposalId={index}
|
||||
/>
|
||||
{!image?.proposal && (
|
||||
<PreImageButton imageHash={imageHash} />
|
||||
)}
|
||||
</Button.Group>
|
||||
</td>
|
||||
<td className='links media--1000'>
|
||||
|
||||
@ -146,12 +146,11 @@ function Tip ({ bestNumber, className = '', defaultId, hash, isMember, members,
|
||||
#{formatNumber(closesAt)}
|
||||
</div>
|
||||
)
|
||||
: finder && (
|
||||
: finder && isFinder && (
|
||||
<TxButton
|
||||
accountId={finder}
|
||||
className='media--1400'
|
||||
icon='times'
|
||||
isDisabled={!isFinder}
|
||||
label={t('Cancel')}
|
||||
onSuccess={onRefresh}
|
||||
params={[hash]}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user