diff options
| author | Henry Jameson <me@hjkos.com> | 2018-01-29 10:47:26 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-03-12 01:30:27 +0300 |
| commit | b10787d23ca645932e89383ebb39402d1eb84700 (patch) | |
| tree | d184ec36b908a707ebf6e4726b2c02d351044605 /src/components/attachment/attachment.js | |
| parent | cd3bf461dba72ddb04c4b1c3a4b736009b968cbe (diff) | |
first ver
Diffstat (limited to 'src/components/attachment/attachment.js')
| -rw-r--r-- | src/components/attachment/attachment.js | 4 |
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) |
