diff options
| author | Hector A. Escobedo <ninjahector.escobedo@gmail.com> | 2017-02-22 18:38:05 -0500 |
|---|---|---|
| committer | Hector A. Escobedo <ninjahector.escobedo@gmail.com> | 2017-02-22 18:39:56 -0500 |
| commit | a7db72d7a7667fc5f06953b37d32d6847e6dfc58 (patch) | |
| tree | ebad4d8317359d921b24341e155b56ebb8b34d7b /src/components/attachment/attachment.js | |
| parent | b939f70d17697eaa5721ac86bcfcd2fc55871df9 (diff) | |
Add setting to toggle NSFW hiding.
Diffstat (limited to 'src/components/attachment/attachment.js')
| -rw-r--r-- | src/components/attachment/attachment.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/attachment/attachment.js b/src/components/attachment/attachment.js index 57d21b28..8e959903 100644 --- a/src/components/attachment/attachment.js +++ b/src/components/attachment/attachment.js @@ -9,7 +9,8 @@ const Attachment = { ], data: () => ({ nsfwImage, - showHidden: false + hideNsfwLocal: this.$store.state.config.hideNsfw, + showHidden: !this.hideNsfwLocal }), computed: { type () { |
