Merge branch 'fix-custom-nsfw-image' into 'develop'

fix custom nsfwCensorImage not working

See merge request pleroma/pleroma-fe!469
This commit is contained in:
HJ 2019-01-24 18:13:07 +00:00
commit 03ffa7e84e
3 changed files with 39 additions and 44 deletions

View file

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