diff --git a/app/[locale]/(protected)/contributor/task-ta/components/task-ta-table.tsx b/app/[locale]/(protected)/contributor/task-ta/components/task-ta-table.tsx index 7964e26a..590eba20 100644 --- a/app/[locale]/(protected)/contributor/task-ta/components/task-ta-table.tsx +++ b/app/[locale]/(protected)/contributor/task-ta/components/task-ta-table.tsx @@ -237,7 +237,6 @@ export default function TaskTaTable() { contentData = contentData.filter((item: any) => { const createdByLevel = item?.createdBy?.userLevel?.name || ""; - // KOOR KURATOR = user id 464 (sesuai create kamu) const assignedUsers = String(item?.assignedToUsers || ""); return ( @@ -307,6 +306,17 @@ export default function TaskTaTable() { Atensi Khusus Mabes + + + + + + + + )} + + {/* {Number(detail?.needApprovalFrom) == Number(userLevelId) && Number(userLevelNumber) < 2 ? ( Number(detail?.uploadedById) == Number(userId) ? ( "" @@ -527,13 +615,15 @@ export default function FormDetailLiveReport() { ) ) : ( "" - )} + )} */} - {t("leave-comment", { defaultValue: "Leave Comment" })} + + {t("leave-comment", { defaultValue: "Leave Comment" })} +

@@ -544,15 +634,15 @@ export default function FormDetailLiveReport() { status === "2" ? "text-primary" : status === "3" - ? "text-warning" - : "text-destructive" + ? "text-warning" + : "text-destructive" } > {status === "2" ? "Disetujui" : status === "3" - ? "Revisi" - : "Ditolak"} + ? "Revisi" + : "Ditolak"}

{status === "2" && ( diff --git a/components/form/task-ta/task-ta-form.tsx b/components/form/task-ta/task-ta-form.tsx index 89a879a4..ddd701f5 100644 --- a/components/form/task-ta/task-ta-form.tsx +++ b/components/form/task-ta/task-ta-form.tsx @@ -449,9 +449,7 @@ export default function FormTaskTa() { const requestData = { ...data, // assignedToUsers: isMabesApprover ? "464" : handleExpertChange(), - assignedToUsers: isMabesApprover - ? ["464", "8258"] - : handleExpertChange(), + assignedToUsers: isMabesApprover ? "464" : handleExpertChange(), assignmentType: taskType, assignmentTypeId: type, expertCompetencies: Array.from(selectedCompetencies).join(","),