fix custom nsfwCensorImage not working

This commit is contained in:
Henry Jameson 2019-01-23 00:10:59 +03:00
parent c8caa477d7
commit ac64e90898
3 changed files with 5 additions and 6 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,