aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.vue
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2021-05-31 11:00:53 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2021-05-31 11:00:53 +0000
commitdc611dffdbf8f24c10caa7651651efbff1acfe67 (patch)
tree9231422f2f448204685c69984a2859a0f014dcab /src/components/attachment/attachment.vue
parent0741d1d93d1ff40489747c0dcfd652be8bf6e2ab (diff)
parent245addb530f04510d072531eef45e7f30c79e237 (diff)
Merge branch 'flash-support' into 'develop'
Flash support See merge request pleroma/pleroma-fe!1380
Diffstat (limited to 'src/components/attachment/attachment.vue')
-rw-r--r--src/components/attachment/attachment.vue6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue
index 2c1c1682..f80badfd 100644
--- a/src/components/attachment/attachment.vue
+++ b/src/components/attachment/attachment.vue
@@ -117,6 +117,11 @@
<!-- eslint-enable vue/no-v-html -->
</div>
</div>
+
+ <Flash
+ v-if="type === 'flash'"
+ :src="attachment.large_thumb_url || attachment.url"
+ />
</div>
</template>
@@ -172,6 +177,7 @@
}
.non-gallery.attachment {
+ &.flash,
&.video {
flex: 1 0 40%;
}