From 39fc95095ac4b99186294f21fe6d8ac0cfab1f6e Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Fri, 24 Oct 2025 18:55:27 +0900 Subject: (김준회) 리비전, 파일 조회는 dialog 로 분리(옥프로 요청) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/swp/table/swp-table-columns.tsx | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) (limited to 'lib/swp/table/swp-table-columns.tsx') diff --git a/lib/swp/table/swp-table-columns.tsx b/lib/swp/table/swp-table-columns.tsx index f79a7441..b18e2b27 100644 --- a/lib/swp/table/swp-table-columns.tsx +++ b/lib/swp/table/swp-table-columns.tsx @@ -3,7 +3,7 @@ import { ColumnDef } from "@tanstack/react-table"; import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; -import { ChevronDown, ChevronRight, FileIcon } from "lucide-react"; +import { ChevronDown, ChevronRight, FileIcon, Download } from "lucide-react"; import { formatDistanceToNow } from "date-fns"; import { ko } from "date-fns/locale"; import type { SwpDocumentWithStats } from "../actions"; @@ -12,20 +12,16 @@ export const swpDocumentColumns: ColumnDef[] = [ { id: "expander", header: () => null, - cell: ({ row }) => { - return row.getCanExpand() ? ( + cell: () => { + return ( - ) : null; + ); }, size: 50, }, @@ -388,5 +384,23 @@ export const swpFileColumns: ColumnDef[] = [ ), size: 100, }, + { + id: "actions", + header: "작업", + cell: ({ row }) => ( + + ), + size: 120, + }, ]; -- cgit v1.2.3