aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment/attachment.js
diff options
context:
space:
mode:
authorlambda <pleromagit@rogerbraun.net>2018-04-03 09:14:42 +0000
committerlambda <pleromagit@rogerbraun.net>2018-04-03 09:14:42 +0000
commite4b2fdf1240571f1a3d4be743d73d2b8207b7ba6 (patch)
tree8d21d76ef7471df36b3e0468e06b3870b280c714 /src/components/attachment/attachment.js
parent214dd1f6d14073c26316bf5344f03b4b6af999b2 (diff)
parent0c4dc26808c3bb7508bf9005f3c3430f1c7e2039 (diff)
Merge branch 'stillGifs' into 'develop'
Still gifs See merge request pleroma/pleroma-fe!193
Diffstat (limited to 'src/components/attachment/attachment.js')
-rw-r--r--src/components/attachment/attachment.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js
index 8a2a3826..cd72e571 100644
--- a/src/components/attachment/attachment.js
+++ b/src/components/attachment/attachment.js
@@ -1,3 +1,4 @@
+import StillImage from '../still-image/still-image.vue'
import nsfwImage from '../../assets/nsfw.png'
import fileTypeService from '../../services/file_type/file_type.service.js'
@@ -16,6 +17,9 @@ const Attachment = {
img: document.createElement('img')
}
},
+ components: {
+ StillImage
+ },
computed: {
type () {
return fileTypeService.fileType(this.attachment.mimetype)