mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-10 23:25:31 +08:00
Merge pull request #6281 from G-Chubinidze/gc_SCI_9326
Thumbnail previews on attachments that cannot generate a preview. [SCI-9326]
This commit is contained in:
commit
3f23d10462
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