Or with Fasttract (#2434)

This commit is contained in:
Jaco Greeff 2020-03-22 15:12:39 +01:00 committed by GitHub
parent 65d9d9fdfb
commit c46aa80db4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,21 +73,25 @@ function Externals ({ className }: Props): React.ReactElement<Props> | null {
proposal={expanded?.proposal}
/>
<td className='together number top'>
{!expanded?.proposal && (
<>
<Button.Group>
{!expanded?.proposal && (
<PreImageButton
hash={hash}
withoutOr
/>
<Button.Or />
</>
)}
{hash && threshold && (
<Fasttrack
hash={hash}
threshold={threshold}
/>
)}
)}
{hash && threshold && (
<>
{!expanded?.proposal && (
<Button.Or />
)}
<Fasttrack
hash={hash}
threshold={threshold}
/>
</>
)}
</Button.Group>
</td>
</tr>
</Table.Body>