From 647e2e487238aed36ff9a880648e5c3e8725160f Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Thu, 27 Nov 2025 15:11:02 +0900
Subject: (김준회) dolce 컬럼 조정
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
lib/dolce/table/file-list-columns.tsx | 64 +++++++++++++++++------------------
1 file changed, 32 insertions(+), 32 deletions(-)
(limited to 'lib/dolce/table/file-list-columns.tsx')
diff --git a/lib/dolce/table/file-list-columns.tsx b/lib/dolce/table/file-list-columns.tsx
index 3018e240..e21f4382 100644
--- a/lib/dolce/table/file-list-columns.tsx
+++ b/lib/dolce/table/file-list-columns.tsx
@@ -30,40 +30,10 @@ export const createFileListColumns = ({
return
{row.getValue("FileSeq")}
;
},
},
- {
- accessorKey: "FileName",
- header: lng === "ko" ? "파일명" : "File Name",
- minSize: 300,
- cell: ({ row }) => {
- return {row.getValue("FileName")}
;
- },
- },
- {
- accessorKey: "FileSize",
- header: lng === "ko" ? "파일크기" : "File Size",
- minSize: 100,
- cell: ({ row }) => {
- const size = parseInt(row.getValue("FileSize") as string);
- if (isNaN(size) || size === 0) return "-";
-
- if (size < 1024) return `${size} B`;
- if (size < 1024 * 1024) return `${(size / 1024).toFixed(2)} KB`;
- return `${(size / (1024 * 1024)).toFixed(2)} MB`;
- },
- },
- {
- accessorKey: "CreateDt",
- header: lng === "ko" ? "생성일시" : "Created Date",
- minSize: 200,
- cell: ({ row }) => {
- const date = row.getValue("CreateDt") as string;
- return {formatDolceDateTime(date)}
;
- },
- },
{
id: "actions",
header: "Action",
- minSize: 160,
+ minSize: 50,
cell: ({ row }) => {
const isLocal = row.original.FileServerId === "LOCAL";
const isDownloading = downloadingFileId === row.original.FileId;
@@ -84,7 +54,6 @@ export const createFileListColumns = ({
) : (
)}
- {lng === "ko" ? "다운로드" : "Download"}
{isLocal && onDelete && (