diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2025-03-18 00:25:15 -0400 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2025-03-18 00:25:15 -0400 |
commit | b41b2f48247e4260074e4f7fbff57d33d772efa8 (patch) | |
tree | 6723b1be78a32aba185b3a895cfb2a295468b7da | |
parent | 3564917a539bc5bba7e149b8c157e0bd633be23e (diff) | |
parent | 67ef92fbde4ab5cbe10bb9ad8556087b6d60e8ca (diff) | |
download | JellySolutions-b41b2f48247e4260074e4f7fbff57d33d772efa8.tar.gz JellySolutions-b41b2f48247e4260074e4f7fbff57d33d772efa8.tar.bz2 JellySolutions-b41b2f48247e4260074e4f7fbff57d33d772efa8.zip |
Merge remote-tracking branch 'origin/funding_basket' into funding_basket
-rw-r--r-- | ufund-ui/src/app/components/need-list/need-list.component.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ufund-ui/src/app/components/need-list/need-list.component.ts b/ufund-ui/src/app/components/need-list/need-list.component.ts index 34e849d..fb09632 100644 --- a/ufund-ui/src/app/components/need-list/need-list.component.ts +++ b/ufund-ui/src/app/components/need-list/need-list.component.ts @@ -98,7 +98,6 @@ export class NeedListComponent { isHelper() { const type = this.usersService.getCurrentUser()?.type; - console.log(type); return type === ("HELPER" as unknown as userType); } @@ -109,8 +108,13 @@ export class NeedListComponent { const currentUser = this.usersService.getCurrentUser(); if (currentUser && currentUser.basket) { currentUser.basket.push(need); + console.log("added to basket"); + } + error: (err: any) => { + console.error(err); } }); + } } |