diff options
author | benal01 <bja4245@rit.edu> | 2025-03-25 08:46:45 -0400 |
---|---|---|
committer | benal01 <bja4245@rit.edu> | 2025-03-25 08:46:45 -0400 |
commit | 20458b2ae22466d0b75a2ae60f318e514c0d905f (patch) | |
tree | 81d0d0efb7affcc66c3bfca5590825e3df082cd8 /ufund-ui/src/app/components/need-list/need-list.component.ts | |
parent | 428992e125d3089aeb34da0190a3df05d0992cf0 (diff) | |
download | JellySolutions-20458b2ae22466d0b75a2ae60f318e514c0d905f.tar.gz JellySolutions-20458b2ae22466d0b75a2ae60f318e514c0d905f.tar.bz2 JellySolutions-20458b2ae22466d0b75a2ae60f318e514c0d905f.zip |
need list reformatting- button does not span whole list element
Diffstat (limited to 'ufund-ui/src/app/components/need-list/need-list.component.ts')
-rw-r--r-- | ufund-ui/src/app/components/need-list/need-list.component.ts | 7 |
1 files changed, 6 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 0f86921..e47929b 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 @@ -11,6 +11,7 @@ import { userType } from '../../models/User'; styleUrl: './need-list.component.css' }) export class NeedListComponent { + selectedNeed: Need | undefined; needs: Need[] = []; searchResults: Need[] = []; @@ -109,4 +110,8 @@ export class NeedListComponent { back() { this.searchResults = this.needs; } -} + + select(need : Need) { + this.selectedNeed = need; + } +}
\ No newline at end of file |