Skip to content

Commit 833ea86

Browse files
committed
fix: 에픽 리스트를 스토리 리스트로 변경할 때 rankValue를 넘겨주지 않아 생기는 문제 해결
1 parent abc5053 commit 833ea86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/src/utils/changeEpicListToStoryList.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { EpicDTO } from "../types/DTO/backlogDTO";
33

44
const changeEpicListToStoryList = (epicList: EpicDTO[]) => {
55
const newStoryList: UnfinishedStory[] = [];
6-
epicList.forEach(({ id, name, color, storyList }) => {
6+
epicList.forEach(({ id, name, color, rankValue, storyList }) => {
77
storyList.forEach((story) => {
8-
const newStory = { ...story, epic: { id, name, color } };
8+
const newStory = { ...story, epic: { id, name, color, rankValue } };
99
if (!newStory.taskList) {
1010
newStory.taskList = [];
1111
}

0 commit comments

Comments
 (0)