Always show repeat and contacts on action error
This commit is contained in:
parent
35760e1655
commit
49736e8d3c
|
@ -134,9 +134,8 @@ const ActionInvoice = ({ id, hash, hmac, errorCount, repeat, ...props }) => {
|
||||||
<div className='my-3'>
|
<div className='my-3'>
|
||||||
<InvoiceStatus variant='failed' status={errorStatus} />
|
<InvoiceStatus variant='failed' status={errorStatus} />
|
||||||
</div>
|
</div>
|
||||||
{errorCount === 1
|
<div className='d-flex flex-row mt-3 justify-content-center'><Button variant='info' onClick={repeat}>Retry</Button></div>
|
||||||
? <div className='d-flex flex-row mt-3 justify-content-center'><Button variant='info' onClick={repeat}>Retry</Button></div>
|
<Contacts invoiceHash={hash} invoiceHmac={hmac} />
|
||||||
: <Contacts invoiceHash={hash} invoiceHmac={hmac} />}
|
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
: null}
|
: null}
|
||||||
|
|
Loading…
Reference in New Issue