diff options
author | benal01 <bja4245@rit.edu> | 2025-03-27 08:50:12 -0400 |
---|---|---|
committer | benal01 <bja4245@rit.edu> | 2025-03-27 08:50:12 -0400 |
commit | 057efa1b557d5d874300c6cda8c7d74519c946d6 (patch) | |
tree | cb5cfd5d3ef520a80adee635ea38ce9722afebc4 /ufund-ui/src/app/components/need-list/need-list.component.ts | |
parent | f7a5b01d15493e86a35598b6396621823bc0242f (diff) | |
download | JellySolutions-057efa1b557d5d874300c6cda8c7d74519c946d6.tar.gz JellySolutions-057efa1b557d5d874300c6cda8c7d74519c946d6.tar.bz2 JellySolutions-057efa1b557d5d874300c6cda8c7d74519c946d6.zip |
use <selection> instead of table with *ngFor for sort algorithms
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 | 1 |
1 files changed, 1 insertions, 0 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 208045f..c1063ce 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 @@ -45,6 +45,7 @@ export class NeedListComponent { selectedNeed: Need | null = null; needs: Need[] = []; searchResults: Need[] = []; + sortSelection: string = ''; currentSortAlgo: sortAlgo = sortByMaxGoal; SortingAlgoArrays: {func:sortAlgo,name:string}[] = [ |