Skip to content

Commit abb3c88

Browse files
authored
Merge pull request #45 from traPtitech/feat/other_movie_type
m4vとmkvを許可するようにする
2 parents 004b8d9 + 8a7e7a4 commit abb3c88

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/List/GameVideoList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const columns: DataTableColumns<GameVideo> = [
1919
},
2020
{
2121
title: 'タイプ',
22-
key: 'type',
22+
key: 'mime',
2323
width: 100
2424
},
2525
{

src/pages/Games/Detail/Video.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const handleUploadVideo = (data: File | null) => {
4545
@close="handleCancelVideo"
4646
@maskClick="handleCancelVideo"
4747
>
48-
<UploadImageEditor accept=".mp4" :onUpload="handleUploadVideo" />
48+
<UploadImageEditor accept=".mp4,.mkv,.m4v" :onUpload="handleUploadVideo" />
4949
</NModal>
5050
<NSpace class="py-10 px-12 gap-10" vertical>
5151
<GameVideoPageHeader

0 commit comments

Comments
 (0)