diff --git a/apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html b/apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html index 5e5205582..9394d7624 100644 --- a/apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html +++ b/apps/client/src/app/components/portfolio-summary/portfolio-summary.component.html @@ -170,7 +170,9 @@ (click)="onToggleHoldings()" > @if (hasHoldingsBreakdown) { - + @if (hasCashBreakdown) { - + 0; + return !this.isLoading && this.summary?.emergencyFund?.cash > 0; } protected get hasHoldingsBreakdown() { - return this.isLoading || this.summary?.emergencyFund?.assets > 0; + return !this.isLoading && this.summary?.emergencyFund?.assets > 0; } protected get holdingsInBaseCurrency() {