diff options
Diffstat (limited to 'ufund-ui/src/app/components/funding-basket')
| -rw-r--r-- | ufund-ui/src/app/components/funding-basket/funding-basket.component.ts | 3 | 
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) {  | 
