mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-14 09:04:56 +08:00
Thumbnail previews on attachments that cannot generate a preview.
This commit is contained in:
parent
825f0e839f
commit
5bae359b91
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
{{ attachment.attributes.file_name }}
|
||||
</span>
|
||||
</a>
|
||||
<div class="attachment-image-tooltip bg-white sn-shadow-menu-sm" >
|
||||
<div v-if="attachment.attributes.medium_preview !== null" class="attachment-image-tooltip bg-white sn-shadow-menu-sm" >
|
||||
<img :src="this.imageLoadError ? attachment.attributes.urls.blob : attachment.attributes.medium_preview" @error="handleImageError"/>
|
||||
</div>
|
||||
<span v-if="attachment.isNewUpload" class="attachment-label-new">
|
||||
|
|
Loading…
Add table
Reference in a new issue