feat: add 'not_started' task status with updates to task creation, status handling, and translations
This commit is contained in:
@@ -840,19 +840,18 @@ export default function ProjectTasksSection({ projectId }) {
|
||||
...prev,
|
||||
status: e.target.value,
|
||||
}))
|
||||
}
|
||||
className="w-full px-3 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
|
||||
>
|
||||
<option value="">{t("common.selectOption")}</option>
|
||||
<option value="pending">{t("taskStatus.pending")}</option>
|
||||
<option value="in_progress">{t("taskStatus.in_progress")}</option>
|
||||
<option value="completed">{t("taskStatus.completed")}</option>
|
||||
<option value="cancelled">{t("taskStatus.cancelled")}</option>
|
||||
</select>
|
||||
</div>
|
||||
}
|
||||
className="w-full px-3 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
|
||||
>
|
||||
<option value="">{t("common.selectOption")}</option>
|
||||
<option value="not_started">{t("taskStatus.not_started")}</option>
|
||||
<option value="pending">{t("taskStatus.pending")}</option>
|
||||
<option value="in_progress">{t("taskStatus.in_progress")}</option>
|
||||
<option value="completed">{t("taskStatus.completed")}</option>
|
||||
<option value="cancelled">{t("taskStatus.cancelled")}</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div className="flex items-center justify-end gap-3 mt-6">
|
||||
</div> <div className="flex items-center justify-end gap-3 mt-6">
|
||||
<Button variant="outline" onClick={handleCloseEditModal}>
|
||||
{t("common.cancel")}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user