1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2025-01-22 13:40:13 +01:00

refs #3802 Hide link preview when it has spoiler

This commit is contained in:
AkiraFukushima 2022-11-26 17:52:45 +09:00
parent e69d9f57f0
commit 2e56d9ea72
No known key found for this signature in database
GPG Key ID: B6E51BAC4DE1A957

View File

@ -85,7 +85,7 @@
@select="openDetail(message.reblog)"
/>
<LinkPreview
v-if="originalMessage.card && originalMessage.card.type === 'link'"
v-if="originalMessage.card && originalMessage.card.type === 'link' && isShowContent"
:icon="originalMessage.card.image"
:title="originalMessage.card.title"
:description="originalMessage.card.description"