diff options
-rw-r--r-- | ufund-ui/src/app/components/funding-basket/funding-basket.component.ts | 6 | ||||
-rw-r--r-- | ufund-ui/src/app/components/need-list/need-list.component.html | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ufund-ui/src/app/components/funding-basket/funding-basket.component.ts b/ufund-ui/src/app/components/funding-basket/funding-basket.component.ts index 9d25212..dd68c0c 100644 --- a/ufund-ui/src/app/components/funding-basket/funding-basket.component.ts +++ b/ufund-ui/src/app/components/funding-basket/funding-basket.component.ts @@ -41,9 +41,9 @@ export class FundingBasketComponent implements getBasketNeeds(): void { if (this.user && this.user.basket) { this.user.basket.forEach(need => { - if (this.isInBasket(need)) { - this.basket.push(need); - } + // if (this.isInBasket(need)) { + // this.basket.push(need); + // } }); } } diff --git a/ufund-ui/src/app/components/need-list/need-list.component.html b/ufund-ui/src/app/components/need-list/need-list.component.html index fce6377..4a67dfa 100644 --- a/ufund-ui/src/app/components/need-list/need-list.component.html +++ b/ufund-ui/src/app/components/need-list/need-list.component.html @@ -14,7 +14,7 @@ {{need.name}} </a> <button (click)="delete(need.id)" *ngIf="isManager()">Delete</button> - <button (click)="add(need)" *ngIf="isHelper()">Add To Basket</button> + <!-- <button (click)="add(need)" *ngIf="isHelper()">Add To Basket</button> --> </div> </div> </div> @@ -24,5 +24,5 @@ {{need.name}} </a> <button (click)="delete(need.id)" *ngIf="isManager()">Delete</button> - <button (click)="add(need)" *ngIf="isHelper()">Add To Basket</button> + <!-- <button (click)="add(need)" *ngIf="isHelper()">Add To Basket</button> --> </li> |