From 5875b640693a4ecdb345fd68e8e7080a3ba0f905 Mon Sep 17 00:00:00 2001 From: Anang Yusman Date: Mon, 16 Jun 2025 16:07:58 +0800 Subject: [PATCH] feat: menu sidebar,emergency issue --- .../results/component/column.tsx | 12 +-- .../communication/questions-reply-form.tsx | 6 +- lib/menus.ts | 80 +++++++++---------- 3 files changed, 49 insertions(+), 49 deletions(-) diff --git a/app/[locale]/(protected)/admin/media-tracking/results/component/column.tsx b/app/[locale]/(protected)/admin/media-tracking/results/component/column.tsx index 69d40134..895c7df0 100644 --- a/app/[locale]/(protected)/admin/media-tracking/results/component/column.tsx +++ b/app/[locale]/(protected)/admin/media-tracking/results/component/column.tsx @@ -49,11 +49,11 @@ const columns: ColumnDef[] = [ header: "Jumlah Amplifikasi", cell: ({ row }) => {row.getValue("link")}, }, - // { - // accessorKey: "status", - // header: "Status", - // cell: ({ row }) => {row.getValue("status")}, - // }, + { + accessorKey: "status", + header: "Status", + cell: ({ row }) => {row.getValue("status")}, + }, { accessorKey: "date", header: "Tanggal Penarikan", @@ -85,7 +85,7 @@ const columns: ColumnDef[] = [ > - View{" "} + View {row.original.mediaUpload.fileType.secondaryName && row.original.mediaUpload.fileType.secondaryName.toLowerCase()} diff --git a/components/form/communication/questions-reply-form.tsx b/components/form/communication/questions-reply-form.tsx index b684de96..e8c2a54d 100644 --- a/components/form/communication/questions-reply-form.tsx +++ b/components/form/communication/questions-reply-form.tsx @@ -51,7 +51,7 @@ import { ChevronDownIcon } from "lucide-react"; import { getOperatorUser } from "@/service/management-user/management-user"; const taskSchema = z.object({ - message: z.string().optional(), + title: z.string().optional(), description: z.string().optional(), }); @@ -275,7 +275,7 @@ export default function FormQuestionsReply() { title: data.title, description: data.description, priorityId: selectedPriority, - statusId: selectedStatus, + statusId: 1, typeId: detailTickets?.typeId, parentCommentId: detailTickets?.feedId, operatorTeam: selectedOperator.join(","), @@ -507,7 +507,7 @@ export default function FormQuestionsReply() { (