aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/cupboard/sorting.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ufund-ui/src/app/components/cupboard/sorting.ts')
-rw-r--r--ufund-ui/src/app/components/cupboard/sorting.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/ufund-ui/src/app/components/cupboard/sorting.ts b/ufund-ui/src/app/components/cupboard/sorting.ts
index 7cb3f39..73a5ba9 100644
--- a/ufund-ui/src/app/components/cupboard/sorting.ts
+++ b/ufund-ui/src/app/components/cupboard/sorting.ts
@@ -50,9 +50,9 @@ const sortByLocation: sortAlgo = (a: Need, b: Need): number => {
}
export const SortingAlgoArrays: {[key: string]: { func: sortAlgo, display: [string, string]}} = {
- "sortByPriority": { func: sortByPriority, display: ["Highest Priority", "Lowest Priority" ] },
- "sortByName": { func: sortByName, display: ["Name (A to Z)", "Name (Z to A)" ] },
- "sortByLocation": { func: sortByLocation, display: ["Location (A to Z)", "Location (Z to A)" ] },
- "sortByCompletion": { func: sortByCompletion, display: ["Most Completed", "Least Completed" ] },
- "sortByGoal": { func: sortByGoal, display: ["Largest Maximum Goal", "Smallest Maximum Goal" ] },
+ sortByPriority: { func: sortByPriority, display: ["Highest Priority", "Lowest Priority" ] },
+ sortByName: { func: sortByName, display: ["Name (A to Z)", "Name (Z to A)" ] },
+ sortByLocation: { func: sortByLocation, display: ["Location (A to Z)", "Location (Z to A)" ] },
+ sortByCompletion: { func: sortByCompletion, display: ["Most Completed", "Least Completed" ] },
+ sortByGoal: { func: sortByGoal, display: ["Largest Maximum Goal", "Smallest Maximum Goal" ] },
};