Skip to content

Commit

Permalink
[ merge into dev ] 종료 낫투두 수정 불가
Browse files Browse the repository at this point in the history
[ fix ] 종료 낫투두 수정 불가
  • Loading branch information
NeatKYU authored Sep 13, 2023
2 parents 713dea0 + d36b52e commit 87d2c05
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions src/pages/nottodo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,17 @@ export default function NotTodoPage() {
<FloatingButton onClick={() => router('/nottodo/create')} />
)}
<BottomPopup isOpen={isMenuOpen} setIsOpen={setIsMenuOpen}>
<div className="body1 w-full" onClick={() => router(`/nottodo/edit/${currentNottodo?.notToDoId}`)}>
낫투두 수정
</div>
<div className="h-[24px]" />
{currentNottodo?.progressState !== 'COMPLETE' && (
<>
<div
className="body1 w-full"
onClick={() => router(`/nottodo/edit/${currentNottodo?.notToDoId}`)}
>
낫투두 수정
</div>
<div className="h-[24px]" />
</>
)}
<div className="body1 w-full text-negative" onClick={handleDeletePopupOpen}>
낫투두 삭제
</div>
Expand Down

0 comments on commit 87d2c05

Please sign in to comment.