From 2650b7c0bb0ea12b68a58c0439f72d61df04b2f1 Mon Sep 17 00:00:00 2001 From: dujinkim Date: Fri, 25 Jul 2025 07:51:15 +0000 Subject: (대표님) 정기평가 대상, 미들웨어 수정, nextauth 토큰 처리 개선, GTC 등 (최겸) 기술영업 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/tech-vendors/table/tech-vendors-filter-sheet.tsx | 1 + lib/tech-vendors/table/tech-vendors-table-columns.tsx | 4 ++-- lib/tech-vendors/table/tech-vendors-table.tsx | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'lib/tech-vendors/table') diff --git a/lib/tech-vendors/table/tech-vendors-filter-sheet.tsx b/lib/tech-vendors/table/tech-vendors-filter-sheet.tsx index c6beb7a9..b1fcee34 100644 --- a/lib/tech-vendors/table/tech-vendors-filter-sheet.tsx +++ b/lib/tech-vendors/table/tech-vendors-filter-sheet.tsx @@ -74,6 +74,7 @@ const workTypeOptions = [ { value: "TS", label: "TS" }, { value: "TE", label: "TE" }, { value: "TP", label: "TP" }, + { value: "TA", label: "TA" }, // 해양HULL workTypes { value: "HA", label: "HA" }, { value: "HE", label: "HE" }, diff --git a/lib/tech-vendors/table/tech-vendors-table-columns.tsx b/lib/tech-vendors/table/tech-vendors-table-columns.tsx index 5184e3f3..da17a975 100644 --- a/lib/tech-vendors/table/tech-vendors-table-columns.tsx +++ b/lib/tech-vendors/table/tech-vendors-table-columns.tsx @@ -3,7 +3,7 @@ import * as React from "react" import { type DataTableRowAction } from "@/types/table" import { type ColumnDef } from "@tanstack/react-table" -import { Ellipsis, Package } from "lucide-react" +import { Ellipsis } from "lucide-react" import { toast } from "sonner" import { getErrorMessage } from "@/lib/handle-error" @@ -340,7 +340,7 @@ export function getColumns({ setRowAction, router }: GetColumnsProps): ColumnDef // 날짜 컬럼 포맷팅 if (cfg.type === "date" && cell.getValue()) { - return formatDate(cell.getValue() as Date); + return formatDate(cell.getValue() as Date, "ko-KR"); } return cell.getValue(); diff --git a/lib/tech-vendors/table/tech-vendors-table.tsx b/lib/tech-vendors/table/tech-vendors-table.tsx index 7f9625cf..553ff109 100644 --- a/lib/tech-vendors/table/tech-vendors-table.tsx +++ b/lib/tech-vendors/table/tech-vendors-table.tsx @@ -134,6 +134,7 @@ export function TechVendorsTable({ { label: "TS", value: "TS" }, { label: "TE", value: "TE" }, { label: "TP", value: "TP" }, + { label: "TA", value: "TA" }, // 해양HULL workTypes { label: "HA", value: "HA" }, { label: "HE", value: "HE" }, @@ -157,7 +158,7 @@ export function TechVendorsTable({ enableAdvancedFilter: true, initialState: { sorting: [{ id: "createdAt", desc: true }], - columnPinning: { right: ["actions", "possibleItems"] }, + columnPinning: { right: ["actions"] }, }, getRowId: (originalRow) => String(originalRow.id), shallow: false, -- cgit v1.2.3