Skip to content

Commit

Permalink
️💄 edit activity dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
pbc1017 committed Jan 2, 2024
1 parent 76bdc40 commit 966be41
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions back/routes/feedback.js
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,8 @@ router.get("/activity_submit_list", async (req, res) => {
})
);

clubData.sort((a, b) => b.feedbackTypeOne - a.feedbackTypeOne);

res.json({
totalActivities,
nonFeedbackTypeOneActivities,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export const DashboardClubList = ({
<select
value={selectedExecutive}
onChange={handleSelectChange}
className={"frame-2"}
className={"frame-2 text-wrapper-2"}
>
<option key="0" value="0">
선택안함
Expand Down
8 changes: 6 additions & 2 deletions front/src/components/admin/DashboardClubList/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
display: flex;
flex-direction: column;
gap: 10px;
height: 42px;
justify-content: center;
padding: 10px;
position: relative;
width: 42px;
height: 100%;
}

.dashboard-club-list .element {
Expand All @@ -37,6 +37,7 @@
text-align: center;
white-space: nowrap;
width: fit-content;
height: 100%;
}

.dashboard-club-list .div-wrapper {
Expand All @@ -50,6 +51,7 @@
padding: 10px;
position: relative;
width: 544px;
height: 100%;
}

.dashboard-club-list .text-wrapper-2 {
Expand All @@ -62,20 +64,21 @@
line-height: normal;
margin-top: -1px;
position: relative;
height: 100%;
}

.dashboard-club-list .frame-2 {
align-items: center;
border-color: #000000;
border-right-style: solid;
border-right-width: 1px;
height: 100%;
display: flex;
gap: 10px;
justify-content: center;
padding: 10px;
position: relative;
width: 110px;
height: 100%;
}

.dashboard-club-list .frame-3 {
Expand All @@ -89,6 +92,7 @@
padding: 10px;
position: relative;
width: 243px;
height: 100%;
}

.dashboard-club-list.zero {
Expand Down

0 comments on commit 966be41

Please sign in to comment.