From 59b5715ebb3e1fd7bd4eb02ce50399715734f865 Mon Sep 17 00:00:00 2001
From: 0-Zz-ang <s1998319@gmail.com>
Date: Mon, 4 Aug 2025 14:59:15 +0900
Subject: (박서영) docu-list-rule detail sheet 컴포넌트 추가 및 검색 필터 기능
 오류 수정
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../table/document-class-options-table-columns.tsx        | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

(limited to 'lib/docu-list-rule/document-class/table/document-class-options-table-columns.tsx')

diff --git a/lib/docu-list-rule/document-class/table/document-class-options-table-columns.tsx b/lib/docu-list-rule/document-class/table/document-class-options-table-columns.tsx
index c04a7b37..c3bf440d 100644
--- a/lib/docu-list-rule/document-class/table/document-class-options-table-columns.tsx
+++ b/lib/docu-list-rule/document-class/table/document-class-options-table-columns.tsx
@@ -18,7 +18,7 @@ import {
 } from "@/components/ui/dropdown-menu"
 
 import { DataTableColumnHeaderSimple } from "@/components/data-table/data-table-column-simple-header"
-import { documentClassOptions } from "@/db/schema/documentClasses"
+import { documentClassOptions } from "@/db/schema/docu-list-rule"
 
 interface GetColumnsProps {
   setRowAction: React.Dispatch<React.SetStateAction<DataTableRowAction<typeof documentClassOptions.$inferSelect> | null>>
@@ -114,19 +114,18 @@ export function getColumns({ setRowAction }: GetColumnsProps): ColumnDef<typeof
       minSize: 80
     },
     {
-      accessorKey: "optionValue",
+      accessorKey: "description",
       enableResizing: true,
       header: ({ column }) => (
-        <DataTableColumnHeaderSimple column={column} title="옵션 값" />
+        <DataTableColumnHeaderSimple column={column} title="설명" />
       ),
       meta: {
-        excelHeader: "옵션 값",
+        excelHeader: "설명",
         type: "text",
       },
-      cell: ({ row }) => row.getValue("optionValue") ?? "",
-      minSize: 80
+      cell: ({ row }) => row.getValue("description") ?? "",
+      minSize: 120
     },
-
     {
       accessorKey: "createdAt",
       enableResizing: true,
@@ -141,7 +140,7 @@ export function getColumns({ setRowAction }: GetColumnsProps): ColumnDef<typeof
         const dateVal = row.getValue("createdAt") as Date
         return formatDateTime(dateVal, "KR")
       },
-      minSize: 80
+      minSize: 100
     }
   ]
 
-- 
cgit v1.2.3

