summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authortamaina <tamaina@hotmail.co.jp>2020-01-04 07:20:41 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2020-01-04 07:20:41 +0900
commite37840d870eec41599cde71baee70e3688e21f32 (patch)
treed32ba90ff25ca7491ea74beb871fdc36bc8e4101 /src/client
parent2020 (diff)
downloadsharkey-e37840d870eec41599cde71baee70e3688e21f32.tar.gz
sharkey-e37840d870eec41599cde71baee70e3688e21f32.tar.bz2
sharkey-e37840d870eec41599cde71baee70e3688e21f32.zip
ドライブ関連の修正 (#5673)
* :v: * Update add-file.ts * fix
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/common/views/components/media-list.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/app/common/views/components/media-list.vue b/src/client/app/common/views/components/media-list.vue
index 6c54967eb7..bfbc9366d3 100644
--- a/src/client/app/common/views/components/media-list.vue
+++ b/src/client/app/common/views/components/media-list.vue
@@ -42,7 +42,7 @@ export default Vue.extend({
},
methods: {
previewable(file) {
- return file.type.startsWith('video') || file.type.startsWith('image');
+ return (file.type.startsWith('video') || file.type.startsWith('image')) && file.thumbnailUrl;
}
}
});