diff options
| author | joonhoekim <26rote@gmail.com> | 2025-11-03 20:10:58 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-11-03 20:10:58 +0900 |
| commit | ab6e2523baf4d1db1376f51643a34c368b1b5538 (patch) | |
| tree | ec4fbf67b910d8c5c5412678a3bfd9afe894b3ce /lib/swp | |
| parent | fd9ffaaa01d79910f82c7c821b03966afed5f939 (diff) | |
(김준회) 커버페이지 다운로드 파일명 하드코딩 확장자 문제 수정
Diffstat (limited to 'lib/swp')
| -rw-r--r-- | lib/swp/table/swp-table-columns.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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<DocumentListItem>[] = [ 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); |
