Skip to content

Commit

Permalink
fix: 에픽별 페이지에서 에픽 클릭시 해당 에픽만 수정, 삭제할 수 있도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
surinkwon committed Aug 3, 2024
1 parent ab30afc commit abc5053
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
10 changes: 2 additions & 8 deletions frontend/src/components/backlog/EpicBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,10 @@ import EpicDropdown from "./EpicDropdown";
interface EpicBlockProps {
storyExist: boolean;
epic: EpicCategoryDTO;
epicList: EpicCategoryDTO[];
children: React.ReactNode;
}

const EpicBlock = ({
storyExist,
epic,
epicList,
children,
}: EpicBlockProps) => {
const EpicBlock = ({ storyExist, epic, children }: EpicBlockProps) => {
const { showDetail, handleShowDetail } = useShowDetail();
const {
open: epicUpdating,
Expand Down Expand Up @@ -66,7 +60,7 @@ const EpicBlock = ({
{epicUpdating && (
<EpicDropdown
selectedEpic={epic}
epicList={epicList}
epicList={[epic]}
onEpicChange={() => {}}
/>
)}
Expand Down
1 change: 0 additions & 1 deletion frontend/src/pages/backlog/EpicPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ const EpicPage = () => {
({ id: epicId, name, color, rankValue, storyList }) => (
<EpicBlock
storyExist={storyList.length > 1}
epicList={epicCategoryList}
epic={{ id: epicId, name, color, rankValue }}
>
{...storyList.map(({ id, title, point, status, taskList }) => {
Expand Down

0 comments on commit abc5053

Please sign in to comment.