diff options
| author | benal01 <bja4245@rit.edu> | 2025-03-17 23:50:17 -0400 | 
|---|---|---|
| committer | benal01 <bja4245@rit.edu> | 2025-03-17 23:50:17 -0400 | 
| commit | 2ee4d91af8262c978120b0d540a86386309b4e54 (patch) | |
| tree | 0816d373a149609c5f89d1dd6bf9b6e6c975ad1b | |
| parent | 5563fa8e1b4a8df9dc05cdb48405c3de634fdd81 (diff) | |
| download | JellySolutions-2ee4d91af8262c978120b0d540a86386309b4e54.tar.gz JellySolutions-2ee4d91af8262c978120b0d540a86386309b4e54.tar.bz2 JellySolutions-2ee4d91af8262c978120b0d540a86386309b4e54.zip | |
fixing errors in funding basket
| -rw-r--r-- | ufund-ui/src/app/components/funding-basket/funding-basket.component.ts | 16 | 
1 files changed, 0 insertions, 16 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 a6ee8fc..42015fe 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 @@ -1,17 +1,10 @@  import {Component, OnInit} from '@angular/core';  import {User} from '../../models/User'; -<<<<<<< HEAD  import { UsersService } from '../../services/users.service';  import { Need } from '../../models/Need';  import { NeedListComponent } from '../need-list/need-list.component';  import { Router } from '@angular/router';  import { CupboardService } from '../../services/cupboard.service'; -======= -import {UsersService} from '../../services/users.service'; -import {Need} from '../../models/Need'; -import {NeedListComponent} from '../need-list/need-list.component'; -import {Router} from '@angular/router'; ->>>>>>> 1dd36e3643f646443555554d6de024653373fc8f  @Component({      selector: 'app-funding-basket', @@ -45,15 +38,6 @@ export class FundingBasketComponent implements      this.getBasketNeeds();    } -  getBasketNeeds(): void { -    if (this.user && this.needs) { -      this.needs.forEach(need => { -        if (this.isInBasket(need)){ -          this.basket.push(need); -        } -        this.user = this.usersService.getCurrentUser() -    } -      getBasketNeeds(): void {          if (this.user && this.user.basket) {              this.user.basket.forEach(need => { | 
