Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/deployBack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ jobs:
-X POST \
-d '{
"embeds": [{

"title": "🚀 Deploy Back 성공!",

"description": "**Branch**: `${{ github.ref }}`\n**Commit**: `${{ github.sha }}`\n🟢 서비스가 정상적으로 배포되었습니다!",
"color": 65353
}]
Expand All @@ -67,9 +69,10 @@ jobs:
-X POST \
-d '{
"embeds": [{

"title": "❌ Deploy Back 실패!",

"description": "**Branch**: `${{ github.ref }}`\n**Commit**: `${{ github.sha }}`\n🔴 배포 중 오류가 발생했습니다. 로그를 확인하세요.",
"color": 16711680
}]
}' ${{ secrets.DISCORD_WEBHOOK }}

2 changes: 1 addition & 1 deletion frontend/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ function App() {
}
/>
<Route
path="/admin/assignment/:studentId"
path="/admin/assignment/:studentId/:week"
element={
<RequireAdmin>
<AdminStudentAssignment />
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/pages/admin/DetailManageStudent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ const DetailManageStudent = () => {
출석 관리 <span>&gt;</span>
</button>
)}
{student && (
{student && student.id && (
<div className={style.assignment_list}>
{weekData.map((week, index) => (
<button
key={index}
className={style.assignment_button}
onClick={() => navigate(`/admin/assignment/${student.id}`)}
onClick={() => navigate(`/admin/assignment/${student.id}/${index + 1}`)}
>
{week.week} {week.title && ` ${week.title}`}
</button>
Expand Down