aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/need-list/need-list.component.ts
diff options
context:
space:
mode:
authorbenal01 <bja4245@rit.edu>2025-03-27 08:50:12 -0400
committerbenal01 <bja4245@rit.edu>2025-03-27 08:50:12 -0400
commit057efa1b557d5d874300c6cda8c7d74519c946d6 (patch)
treecb5cfd5d3ef520a80adee635ea38ce9722afebc4 /ufund-ui/src/app/components/need-list/need-list.component.ts
parentf7a5b01d15493e86a35598b6396621823bc0242f (diff)
downloadJellySolutions-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.ts1
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}[] = [