diff options
| -rw-r--r-- | lib/swp/table/swp-table-columns.tsx | 6 | ||||
| -rw-r--r-- | lib/swp/table/swp-table.tsx | 14 |
2 files changed, 1 insertions, 19 deletions
diff --git a/lib/swp/table/swp-table-columns.tsx b/lib/swp/table/swp-table-columns.tsx index e6abd2a0..48b2c90a 100644 --- a/lib/swp/table/swp-table-columns.tsx +++ b/lib/swp/table/swp-table-columns.tsx @@ -6,12 +6,6 @@ import type { DocumentListItem } from "@/lib/swp/document-service"; export const swpDocumentColumns: ColumnDef<DocumentListItem>[] = [ { - id: "expander", - header: () => null, - cell: () => null, - size: 50, - }, - { accessorKey: "LTST_ACTV_STAT", header: "상태", cell: ({ row }) => { diff --git a/lib/swp/table/swp-table.tsx b/lib/swp/table/swp-table.tsx index 7918c07e..21a1c775 100644 --- a/lib/swp/table/swp-table.tsx +++ b/lib/swp/table/swp-table.tsx @@ -14,8 +14,6 @@ import { TableHeader, TableRow, } from "@/components/ui/table"; -import { Button } from "@/components/ui/button"; -import { ChevronRight } from "lucide-react"; import { swpDocumentColumns } from "./swp-table-columns"; import { SwpDocumentDetailDialog } from "./swp-document-detail-dialog"; import type { DocumentListItem } from "@/lib/swp/document-service"; @@ -80,17 +78,7 @@ export function SwpTable({ > {row.getVisibleCells().map((cell) => ( <TableCell key={cell.id}> - {cell.column.id === "expander" ? ( - <Button - variant="ghost" - size="sm" - className="h-8 w-8 p-0" - > - <ChevronRight className="h-4 w-4" /> - </Button> - ) : ( - flexRender(cell.column.columnDef.cell, cell.getContext()) - )} + {flexRender(cell.column.columnDef.cell, cell.getContext())} </TableCell> ))} </TableRow> |
