mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-12 16:14:58 +08:00
(fix) Attachment thumbnail is not shown in List view [SCI-9876] (#6837)
This commit is contained in:
parent
7b259ab781
commit
d33ef5bcaf
1 changed files with 3 additions and 2 deletions
|
@ -16,8 +16,9 @@
|
|||
{{ attachment.attributes.file_name }}
|
||||
</span>
|
||||
</a>
|
||||
<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 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="ActiveStoragePreviews.reCheckPreview"
|
||||
@load="ActiveStoragePreviews.showPreview"/>
|
||||
</div>
|
||||
<div class="file-metadata">
|
||||
<span>
|
||||
|
|
Loading…
Add table
Reference in a new issue