From ab6e2523baf4d1db1376f51643a34c368b1b5538 Mon Sep 17 00:00:00 2001 From: joonhoekim <26rote@gmail.com> Date: Mon, 3 Nov 2025 20:10:58 +0900 Subject: (김준회) 커버페이지 다운로드 파일명 하드코딩 확장자 문제 수정 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/swp/table/swp-table-columns.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 9fb85d2a..09207be8 100644 --- a/lib/swp/table/swp-table-columns.tsx +++ b/lib/swp/table/swp-table-columns.tsx @@ -176,7 +176,7 @@ export const swpDocumentColumns: ColumnDef[] = [ const url = window.URL.createObjectURL(blob); const a = document.createElement("a"); a.href = url; - a.download = `${docNumber}_cover.docx`; + a.download = `${docNumber}_cover.pdf`; document.body.appendChild(a); a.click(); window.URL.revokeObjectURL(url); -- cgit v1.2.3