Skip to content

Commit

Permalink
Fix: 마일리지 학기별 항목 리스트 넘겨주는 값들 수정(#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
ohinhyuk committed Aug 29, 2023
1 parent c6992ad commit 40e5b54
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions src/pages/mileage/item/semester/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,26 +286,15 @@ export default function MileageCategory({
[NUM]: semesterItem.item.id,
[CATEGORY]: semesterItem.category.name,
[SEMESTER]: semesterItem.semesterName,
[SEMESTERITEM]: semesterItem.item.itemName,
[MILEAGE]: semesterItem.weight,
[MAX_MAILEAGE]: semesterItem.category.maxPoints,
[DESCRIPTION1]: semesterItem.item.description1,
[DESCRIPTION2]: semesterItem.item.description2,
[FILE_DESCRIPTION]: '첨부파일 설명', // 업서야 되는 듯
[ISVISIBLE]: true,
[ISVISIBLE_STUDENT]: false,
[ISINPUT_STUDENT]: false,
[ISDUPLICATE_RECORD]: false,
[ISEVALUATE_CSEE]: semesterItem.item.stuType === 'F' ? false : true,
[ISEVALUATE_PORTFOLIO]: semesterItem.item.isPortfolio,
[ISEVALUATE_FUSION]: semesterItem.item.stuType === 'C' ? false : true,
[MILEAGE]: semesterItem.points,
[MAX_MAILEAGE]: semesterItem.itemMaxPoints,
};
return createData(
semesterItem.item.id,
semesterItem.category.name,
semesterItem.semesterName,
semesterItem.item.itemName,
semesterItem.weight,
semesterItem.item.name,
semesterItem.points,
true,
'2023-08-21',
<SWModal type={EDITITEM} beforeData={beforeData} />
Expand Down

0 comments on commit 40e5b54

Please sign in to comment.