Basic attachments, some retweet fixes.

This commit is contained in:
Roger Braun 2016-10-28 18:08:03 +02:00
parent 7b92ca6f94
commit 5f69014575
6 changed files with 76 additions and 13 deletions

View file

@ -0,0 +1,21 @@
import nsfwImage from '../../assets/nsfw.jpg'
const Attachment = {
props: [
'attachment',
'nsfw'
],
data: () => ({ nsfwImage }),
computed: {
type () {
return 'image'
}
},
methods: {
showNsfw () {
this.nsfw = false
}
}
}
export default Attachment