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);
|
push(url);
|
||||||
}
|
}
|
||||||
|
|
||||||
// @endif
|
// @endif
|
||||||
|
|
||||||
const { totalBalance } = props;
|
const { totalBalance } = props;
|
||||||
|
@ -89,22 +88,17 @@ const WalletPage = (props: Props) => {
|
||||||
<TabPanel>
|
<TabPanel>
|
||||||
<div className="section card-stack">
|
<div className="section card-stack">
|
||||||
<div className="lbc-transactions">
|
<div className="lbc-transactions">
|
||||||
{/* if the transactions are loading */}
|
|
||||||
{loading && (
|
{loading && (
|
||||||
<div className="main--empty">
|
<div className="main--empty">
|
||||||
<Spinner delayed />
|
<Spinner delayed />
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{/* when the transactions are finished loading */}
|
|
||||||
{!loading && (
|
{!loading && (
|
||||||
<>
|
<>
|
||||||
{showIntro ? (
|
{showIntro && <YrblWalletEmpty includeWalletLink />}
|
||||||
<YrblWalletEmpty includeWalletLink />
|
|
||||||
) : (
|
|
||||||
<div className="card-stack">
|
<div className="card-stack">
|
||||||
<TxoList search={search} />
|
<TxoList search={search} />
|
||||||
</div>
|
</div>
|
||||||
)}
|
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue