summaryrefslogtreecommitdiff
path: root/components/ship-vendor-document
diff options
context:
space:
mode:
Diffstat (limited to 'components/ship-vendor-document')
-rw-r--r--components/ship-vendor-document/add-attachment-dialog.tsx5
-rw-r--r--components/ship-vendor-document/new-revision-dialog.tsx5
2 files changed, 8 insertions, 2 deletions
diff --git a/components/ship-vendor-document/add-attachment-dialog.tsx b/components/ship-vendor-document/add-attachment-dialog.tsx
index 8357c0b6..fa6f73f1 100644
--- a/components/ship-vendor-document/add-attachment-dialog.tsx
+++ b/components/ship-vendor-document/add-attachment-dialog.tsx
@@ -49,7 +49,10 @@ const ACCEPTED_FILE_TYPES = [
'image/gif',
'text/plain',
'application/zip',
- 'application/x-zip-compressed'
+ 'application/x-zip-compressed',
+ // Presentations (added)
+ 'application/vnd.ms-powerpoint', // .ppt
+ 'application/vnd.openxmlformats-officedocument.presentationml.presentation', // .pptx
]
const attachmentUploadSchema = z.object({
diff --git a/components/ship-vendor-document/new-revision-dialog.tsx b/components/ship-vendor-document/new-revision-dialog.tsx
index 8ca6d533..68c7a946 100644
--- a/components/ship-vendor-document/new-revision-dialog.tsx
+++ b/components/ship-vendor-document/new-revision-dialog.tsx
@@ -61,7 +61,10 @@ const ACCEPTED_FILE_TYPES = [
'image/gif',
'text/plain',
'application/zip',
- 'application/x-zip-compressed'
+ 'application/x-zip-compressed',
+ // Presentations (added)
+ 'application/vnd.ms-powerpoint', // .ppt
+ 'application/vnd.openxmlformats-officedocument.presentationml.presentation', // .pptx
]
// drawingKind에 따른 동적 스키마 생성