From 766743a5f647838c099050829f52c4926d2f0b5d Mon Sep 17 00:00:00 2001 From: Cron Date: Wed, 14 Aug 2024 10:59:48 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EA=B3=BC=EC=A0=9C=20=EC=A0=9C=EC=B6=9C?= =?UTF-8?q?=20=EB=B2=84=ED=8A=BC=20=ED=99=9C=EC=84=B1=ED=99=94=20=EC=A1=B0?= =?UTF-8?q?=EA=B1=B4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/pages/MissionView/MissionView.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/MissionView/MissionView.tsx b/frontend/src/pages/MissionView/MissionView.tsx index 37307e96a..a912546c3 100644 --- a/frontend/src/pages/MissionView/MissionView.tsx +++ b/frontend/src/pages/MissionView/MissionView.tsx @@ -22,7 +22,12 @@ const MissionView = () => { const [mission, setMission] = useState(null); const description = mission?.description ?? ""; - const submittable = !mission || mission.submittable; + const isMissionSubmittable = + !mission || + mission?.submittable || + mission?.status === MISSION_STATUS.SUBMITTABLE || + mission?.status === MISSION_STATUS.SUBMITTING; + const missionLabel = getMissionLabel( mission?.submitted ?? false, mission?.status ?? MISSION_STATUS.UNSUBMITTABLE @@ -94,7 +99,7 @@ const MissionView = () => {
  • -