From ef4c533ebacc2cdc97e518f30e9a9350004fcdfb Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Mon, 28 Apr 2025 02:13:30 +0000
Subject: ~20250428 작업사항
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 lib/tag-numbering/table/tagNumbering-table.tsx | 10 ++++++++++
 1 file changed, 10 insertions(+)

(limited to 'lib/tag-numbering/table/tagNumbering-table.tsx')

diff --git a/lib/tag-numbering/table/tagNumbering-table.tsx b/lib/tag-numbering/table/tagNumbering-table.tsx
index 6ca46e05..847b3eeb 100644
--- a/lib/tag-numbering/table/tagNumbering-table.tsx
+++ b/lib/tag-numbering/table/tagNumbering-table.tsx
@@ -132,17 +132,27 @@ export function TagNumberingTable({ promises }: ItemsTableProps) {
     shallow: false,
     clearOnDefault: true,
   })
+  const [isCompact, setIsCompact] = React.useState<boolean>(false) 
+
+  const handleCompactChange = React.useCallback((compact: boolean) => {
+    setIsCompact(compact)
+  }, [])
+  
 
   return (
     <>
       <DataTable
         table={table}
+        compact={isCompact}
       >
 
         <DataTableAdvancedToolbar
           table={table}
           filterFields={advancedFilterFields}
           shallow={false}
+          enableCompactToggle={true}
+          compactStorageKey="tagNumberingTableCompact"
+          onCompactChange={handleCompactChange}
         >
           <TagNumberingTableToolbarActions table={table} />
         </DataTableAdvancedToolbar>
-- 
cgit v1.2.3

