Small button ordering sdj. (tip & proposals) (#4909)

This commit is contained in:
Jaco Greeff 2021-03-23 14:29:28 +01:00 committed by GitHub
parent 641c8bd7fb
commit 005e3ad1c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

@ -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'>

View File

@ -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]}