first ver
This commit is contained in:
parent
cd3bf461db
commit
b10787d23c
4 changed files with 85 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue