Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix(activity): show paid/unpaid on invoice tooltip
Browse files Browse the repository at this point in the history
Show "paid" or "unpaid" in brackets next to the invoice activity icon in
the activity list.
  • Loading branch information
mrfelton committed Jul 30, 2018
1 parent 87bc9cb commit a4a3c5c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -16,7 +16,7 @@ const Invoice = ({ invoice, ticker, currentTicker, showActivityModal, currencyNa
<div className={styles.activityTypeIcon}>
<section
className="hint--bottom"
data-hint={`Lightning invoice${!invoice.settled ? ' (unpaid)' : undefined}`}
data-hint={`Lightning invoice (${invoice.settled ? 'paid)' : 'unpaid'})`}
>
<Isvg src={checkmarkIcon} />
</section>
Expand Down

0 comments on commit a4a3c5c

Please sign in to comment.