Fix missing txoList when balance is 0
799 ## Issue `TxoList` is not shown when balance is zero. A zero balance doesn't always mean zero transactions. ## Fix Just like in other components, don't make `YrblWalletEmpty` a mutually-exclusive thing.
This commit is contained in:
parent
30977cae96
commit
7500f15fc2
1 changed files with 4 additions and 10 deletions
|
@ -64,7 +64,6 @@ const WalletPage = (props: Props) => {
|
|||
}
|
||||
push(url);
|
||||
}
|
||||
|
||||
// @endif
|
||||
|
||||
const { totalBalance } = props;
|
||||
|
@ -89,22 +88,17 @@ const WalletPage = (props: Props) => {
|
|||
<TabPanel>
|
||||
<div className="section card-stack">
|
||||
<div className="lbc-transactions">
|
||||
{/* if the transactions are loading */}
|
||||
{loading && (
|
||||
<div className="main--empty">
|
||||
<Spinner delayed />
|
||||
</div>
|
||||
)}
|
||||
{/* when the transactions are finished loading */}
|
||||
{!loading && (
|
||||
<>
|
||||
{showIntro ? (
|
||||
<YrblWalletEmpty includeWalletLink />
|
||||
) : (
|
||||
{showIntro && <YrblWalletEmpty includeWalletLink />}
|
||||
<div className="card-stack">
|
||||
<TxoList search={search} />
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue