aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.vue
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2019-01-27 13:47:30 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2019-01-28 05:50:12 +0000
commit0924907c64376249433e2fd16278662181c9e856 (patch)
treeb83941e57092d1b1acc28ecea601de0b9c0bd2b1 /src/components/status/status.vue
parentb27ec058cae582e8b9ad9e56be0e9be57f865886 (diff)
add link-preview component
Diffstat (limited to 'src/components/status/status.vue')
-rw-r--r--src/components/status/status.vue4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/status/status.vue b/src/components/status/status.vue
index 5c956467..e959544b 100644
--- a/src/components/status/status.vue
+++ b/src/components/status/status.vue
@@ -98,6 +98,10 @@
</attachment>
</div>
+ <div v-if='status.card && !hideSubjectStatus' class='link-preview media-body'>
+ <link-preview :card="status.card"></link-preview>
+ </div>
+
<div v-if="!noHeading && !noReplyLinks" class='status-actions media-body'>
<div v-if="loggedIn">
<a href="#" v-on:click.prevent="toggleReplying" :title="$t('tool_tip.reply')">