This commit is contained in:
Henry Jameson 2018-02-03 20:37:27 +03:00
parent 55bc1a3414
commit 5efd8a4aa6
2 changed files with 5 additions and 9 deletions

View file

@ -1,16 +1,9 @@
import fileTypeService from '../../services/file_type/file_type.service.js'
const StillImage = {
props: [
'src',
'referrerpolicy',
'mimetype'
],
data () {
return {
hideNsfwLocal: this.$store.state.config.hideNsfw,
}
},
computed: {
animated () {
return this.mimetype === 'image/gif' || this.src.endsWith('.gif')