fix: show message when a user doesn't have any transactions
This commit is contained in:
parent
c1aa7609ba
commit
53419d29d2
1 changed files with 6 additions and 0 deletions
|
@ -39,6 +39,12 @@ class TransactionListRecent extends React.PureComponent<Props> {
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{!fetchingTransactions && !hasTransactions && (
|
||||||
|
<div className="card__content">
|
||||||
|
<p className="card__subtitle">{__('No transactions... yet.')}</p>
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
{hasTransactions && (
|
{hasTransactions && (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<div className="card__content">
|
<div className="card__content">
|
||||||
|
|
Loading…
Reference in a new issue