parent
85b7eb1fb8
commit
e37840d870
5 changed files with 37 additions and 29 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue