make nsfw censor image configurable

This commit is contained in:
William Pitcock 2018-04-22 09:10:10 -05:00
parent b6eb1b1d98
commit f4ee222e3c
2 changed files with 4 additions and 1 deletions

View file

@ -11,7 +11,7 @@ const Attachment = {
],
data () {
return {
nsfwImage,
nsfwImage: this.$store.state.config.nsfwCensorImage || nsfwImage,
hideNsfwLocal: this.$store.state.config.hideNsfw,
showHidden: false,
loading: false,