aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'ufund-ui/src/app/components/funding-basket/funding-basket.component.html')
-rw-r--r--ufund-ui/src/app/components/funding-basket/funding-basket.component.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/ufund-ui/src/app/components/funding-basket/funding-basket.component.html b/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
index a53b47c..2b05d01 100644
--- a/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
+++ b/ufund-ui/src/app/components/funding-basket/funding-basket.component.html
@@ -1,7 +1,7 @@
<div id="box">
<h1>Funding Basket</h1>
- <ng-template [ngIf]="usersService.getBasket().getValue().length">
- <app-need-list [needs]="of(usersService.getBasket().getValue())"/>
+ <ng-template [ngIf]="(usersService.getBasket() | async)?.length">
+ <app-need-list [needs]="(usersService.getBasket() | async)!"/>
<br>
<div id="footer">
<button class="button2" title="checkout" (click)="checkout()">Checkout</button>