Skip to content

Commit abc5053

Browse files
committed
fix: 에픽별 페이지에서 에픽 클릭시 해당 에픽만 수정, 삭제할 수 있도록 변경
1 parent ab30afc commit abc5053

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

frontend/src/components/backlog/EpicBlock.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,10 @@ import EpicDropdown from "./EpicDropdown";
99
interface EpicBlockProps {
1010
storyExist: boolean;
1111
epic: EpicCategoryDTO;
12-
epicList: EpicCategoryDTO[];
1312
children: React.ReactNode;
1413
}
1514

16-
const EpicBlock = ({
17-
storyExist,
18-
epic,
19-
epicList,
20-
children,
21-
}: EpicBlockProps) => {
15+
const EpicBlock = ({ storyExist, epic, children }: EpicBlockProps) => {
2216
const { showDetail, handleShowDetail } = useShowDetail();
2317
const {
2418
open: epicUpdating,
@@ -66,7 +60,7 @@ const EpicBlock = ({
6660
{epicUpdating && (
6761
<EpicDropdown
6862
selectedEpic={epic}
69-
epicList={epicList}
63+
epicList={[epic]}
7064
onEpicChange={() => {}}
7165
/>
7266
)}

frontend/src/pages/backlog/EpicPage.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ const EpicPage = () => {
2828
({ id: epicId, name, color, rankValue, storyList }) => (
2929
<EpicBlock
3030
storyExist={storyList.length > 1}
31-
epicList={epicCategoryList}
3231
epic={{ id: epicId, name, color, rankValue }}
3332
>
3433
{...storyList.map(({ id, title, point, status, taskList }) => {

0 commit comments

Comments
 (0)