Add setting to toggle NSFW hiding.

This commit is contained in:
Hector A. Escobedo 2017-02-22 18:38:05 -05:00
parent b939f70d17
commit a7db72d7a7
6 changed files with 16 additions and 5 deletions

View file

@ -9,7 +9,8 @@ const Attachment = {
],
data: () => ({
nsfwImage,
showHidden: false
hideNsfwLocal: this.$store.state.config.hideNsfw,
showHidden: !this.hideNsfwLocal
}),
computed: {
type () {