Browse Source
fix(activity): show icon for paid invoices
Fix: #625
renovate/lint-staged-8.x
Tom Kirkpatrick
7 years ago
No known key found for this signature in database
GPG Key ID: 72203A8EC5967EA8
1 changed files with
8 additions and
10 deletions
-
app/routes/activity/components/components/Invoice/Invoice.js
|
|
@ -13,16 +13,14 @@ const Invoice = ({ invoice, ticker, currentTicker, showActivityModal, currencyNa |
|
|
|
className={`${styles.container} ${!invoice.settled && styles.unpaid}`} |
|
|
|
onClick={() => showActivityModal('INVOICE', { invoice })} |
|
|
|
> |
|
|
|
{!invoice.settled && ( |
|
|
|
<div className={styles.activityTypeIcon}> |
|
|
|
<section |
|
|
|
className="hint--bottom" |
|
|
|
data-hint={`Lightning invoice${!invoice.settled ? ' (unpaid)' : undefined}`} |
|
|
|
> |
|
|
|
<Isvg src={checkmarkIcon} /> |
|
|
|
</section> |
|
|
|
</div> |
|
|
|
)} |
|
|
|
<div className={styles.activityTypeIcon}> |
|
|
|
<section |
|
|
|
className="hint--bottom" |
|
|
|
data-hint={`Lightning invoice${!invoice.settled ? ' (unpaid)' : undefined}`} |
|
|
|
> |
|
|
|
<Isvg src={checkmarkIcon} /> |
|
|
|
</section> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div className={styles.data}> |
|
|
|
<div className={styles.title}> |
|
|
|