From c7bae14ba910d0ab4e1ea540f96daaec3c6a2f12 Mon Sep 17 00:00:00 2001 From: Le Date: Fri, 1 Nov 2024 11:49:14 -0700 Subject: [PATCH] ofmcc-6328 - fix sortFundingAllocationRequest --- frontend/src/components/funding/FundingAllocationTab.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/funding/FundingAllocationTab.vue b/frontend/src/components/funding/FundingAllocationTab.vue index b6d4ae31..9e6eb662 100644 --- a/frontend/src/components/funding/FundingAllocationTab.vue +++ b/frontend/src/components/funding/FundingAllocationTab.vue @@ -78,7 +78,7 @@ export default { this.fundingReallocationRequests?.sort((a, b) => { const dateA = new Date(a.date) const dateB = new Date(b.date) - return a.statusCode > b.statusCode || dateB - dateA + return a.statusCode - b.statusCode || dateB - dateA }) },