Skip to content

Commit

Permalink
refactor/BibimMandu-IssueTacker#158: 레이블 상세 페이지 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
qkdflrgs committed Aug 11, 2023
1 parent 2d7fa7c commit a548ee4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions FE/src/pages/LabelsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function LabelsPage() {
};

const goMilestonesPage = () => {
navigate("/milestones");
navigate("/milestones/isOpen=true");
};

const openDelete = () => {
Expand Down Expand Up @@ -110,15 +110,15 @@ export default function LabelsPage() {
<TapButtonWrapper>
<Button
icon={"label"}
label={`레이블`}
label={`레이블(${data?.metadata.totalLabelCount})`}
type={"ghost"}
size={"medium"}
width={"50%"}
onClick={goLabelsPage}
/>
<Button
icon={"milestone"}
label={`마일스톤`}
label={`마일스톤(${data?.metadata.totalMilestoneCount})`}
type={"ghost"}
size={"medium"}
width={"50%"}
Expand Down Expand Up @@ -161,7 +161,7 @@ export default function LabelsPage() {
openDelete={openDelete}
/>
))}
{data?.labels === null && (
{data?.labels?.length === 0 && (
<EmptyList>
<EmptyContent>생성된 레이블이 없습니다.</EmptyContent>
</EmptyList>
Expand Down

0 comments on commit a548ee4

Please sign in to comment.