diff --git a/back/routes/feedback.js b/back/routes/feedback.js index 039a6d7..04bc9fb 100644 --- a/back/routes/feedback.js +++ b/back/routes/feedback.js @@ -492,6 +492,8 @@ router.get("/activity_submit_list", async (req, res) => { }) ); + clubData.sort((a, b) => b.feedbackTypeOne - a.feedbackTypeOne); + res.json({ totalActivities, nonFeedbackTypeOneActivities, diff --git a/front/src/components/admin/DashboardClubList/DashboardClubList.tsx b/front/src/components/admin/DashboardClubList/DashboardClubList.tsx index b27790e..bc897df 100644 --- a/front/src/components/admin/DashboardClubList/DashboardClubList.tsx +++ b/front/src/components/admin/DashboardClubList/DashboardClubList.tsx @@ -120,7 +120,7 @@ export const DashboardClubList = ({