summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
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;
}
}
});