Always show repeat and contacts on action error

This commit is contained in:
ekzyis 2023-08-10 23:04:06 +02:00
parent 35760e1655
commit 49736e8d3c
1 changed files with 2 additions and 3 deletions

View File

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