aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/funding-basket/funding-basket.component.ts
diff options
context:
space:
mode:
authorAkash Keshav <112591754+domesticchores@users.noreply.github.com>2025-03-18 17:10:10 -0400
committerAkash Keshav <112591754+domesticchores@users.noreply.github.com>2025-03-18 17:10:10 -0400
commit0268894e5b80c908d2c3eb5c2228ee22fde52904 (patch)
treee87d2878445fadbe74ac935640bd9934882d4bb3 /ufund-ui/src/app/components/funding-basket/funding-basket.component.ts
parentca7d72e43407a49b147673ebc5ab8b155a8216ac (diff)
downloadJellySolutions-0268894e5b80c908d2c3eb5c2228ee22fde52904.tar.gz
JellySolutions-0268894e5b80c908d2c3eb5c2228ee22fde52904.tar.bz2
JellySolutions-0268894e5b80c908d2c3eb5c2228ee22fde52904.zip
cleaned up outputs. -ak
Diffstat (limited to 'ufund-ui/src/app/components/funding-basket/funding-basket.component.ts')
-rw-r--r--ufund-ui/src/app/components/funding-basket/funding-basket.component.ts3
1 files changed, 0 insertions, 3 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 66b9fd1..e654711 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
@@ -40,7 +40,6 @@ export class FundingBasketComponent implements OnInit {
this.isValid = true;
for (let c of document.getElementById("funding-basket")?.querySelectorAll('.contribution')!) {
let contribution = c as HTMLInputElement;
- console.log(contribution.value, contribution.id);
contribution.setAttribute("style","");
if ( contribution.value == '' || contribution.valueAsNumber <= 0) {
this.isValid = false;
@@ -52,11 +51,9 @@ export class FundingBasketComponent implements OnInit {
let contribution = c as HTMLInputElement;
let need = await firstValueFrom(this.cupboardService.getNeed(+contribution.id));
need.current +=+ contribution.value;
- console.log(need);
this.usersService.removeNeed(+need.id);
this.cupboardService.updateNeed(need.id, need)
.pipe(catchError((ex, r) => {
- console.log(ex.status);
if (ex.status == 500) {
this.statusText.next('Fields cannot be blank');
} else if (ex.status == 400) {