diff --git a/src/components/ServiceProject/JobList.jsx b/src/components/ServiceProject/JobList.jsx index c596c840..e1c08251 100644 --- a/src/components/ServiceProject/JobList.jsx +++ b/src/components/ServiceProject/JobList.jsx @@ -113,9 +113,9 @@ const JobList = ({ isArchive }) => { const canArchive = (statusId) => { const closedId = JOBS_STATUS_IDS.find((s) => s.label === "Closed")?.id; - const workDoneId = JOBS_STATUS_IDS.find((s) => s.label === "Work Done")?.id; + const reviewDoneId = JOBS_STATUS_IDS.find((s) => s.label === "Review Done")?.id; - return statusId === closedId || statusId === workDoneId; + return statusId === closedId || statusId === reviewDoneId; };