feat: lazy load images (#1969)
This commit is contained in:
parent
1ceb3e2857
commit
23c1dfec10
5 changed files with 57 additions and 48 deletions
|
@ -214,7 +214,7 @@ watch(shouldLoadAttachment, () => {
|
|||
@click="!shouldLoadAttachment ? loadAttachment() : openMediaPreview(attachments ? attachments : [attachment], attachments?.indexOf(attachment) || 0)"
|
||||
>
|
||||
<CommonBlurhash
|
||||
:blurhash="attachment.blurhash"
|
||||
:blurhash="attachment.blurhash || ''"
|
||||
class="status-attachment-image"
|
||||
:src="src"
|
||||
:srcset="srcset"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue