aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunther6070 <haydenhartman10@yahoo.com>2025-03-18 07:46:46 -0400
committerGunther6070 <haydenhartman10@yahoo.com>2025-03-18 07:46:46 -0400
commitfad716f3df7f984b733ea073dec4db299d4ce08e (patch)
tree6f98f066c716eed16ce3cc7bf6a25ff1187ee472
parentb9d7dc1cf8962978652e5814e6a5c936d4ff9b61 (diff)
downloadJellySolutions-fad716f3df7f984b733ea073dec4db299d4ce08e.tar.gz
JellySolutions-fad716f3df7f984b733ea073dec4db299d4ce08e.tar.bz2
JellySolutions-fad716f3df7f984b733ea073dec4db299d4ce08e.zip
Commented out bugged lines
-rw-r--r--ufund-ui/src/app/components/funding-basket/funding-basket.component.ts6
-rw-r--r--ufund-ui/src/app/components/need-list/need-list.component.html4
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>