diff options
| author | joonhoekim <26rote@gmail.com> | 2025-11-28 14:13:46 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-11-28 14:13:46 +0900 |
| commit | 24e0b8c83f7d68156e5a63ba85a541c04036f00b (patch) | |
| tree | deac3a6385b959ced9abed7de134938a609cd68f /lib/dolce/table/file-list-columns.tsx | |
| parent | 9cda8482660a87fd98c9ee43f507d75ff75b4e23 (diff) | |
(김준회) dolce: API 추가건 대응 처리(상세도면 및 파일 삭제 기능-Standby 상태)
Diffstat (limited to 'lib/dolce/table/file-list-columns.tsx')
| -rw-r--r-- | lib/dolce/table/file-list-columns.tsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/dolce/table/file-list-columns.tsx b/lib/dolce/table/file-list-columns.tsx index e21f4382..30349063 100644 --- a/lib/dolce/table/file-list-columns.tsx +++ b/lib/dolce/table/file-list-columns.tsx @@ -35,7 +35,6 @@ export const createFileListColumns = ({ header: "Action", minSize: 50, cell: ({ row }) => { - const isLocal = row.original.FileServerId === "LOCAL"; const isDownloading = downloadingFileId === row.original.FileId; return ( @@ -55,7 +54,7 @@ export const createFileListColumns = ({ <Download className="h-4 w-4 mr-2" /> )} </Button> - {isLocal && onDelete && ( + {onDelete && ( <Button variant="destructive" size="sm" @@ -104,4 +103,3 @@ export const createFileListColumns = ({ }, ]; - |
