aboutsummaryrefslogtreecommitdiff
path: root/src/components/settings/settings.js
diff options
context:
space:
mode:
authorHector A. Escobedo <ninjahector.escobedo@gmail.com>2017-02-22 18:59:48 -0500
committerHector A. Escobedo <ninjahector.escobedo@gmail.com>2017-02-22 19:31:49 -0500
commitc338940084d7311844d2dd5c11c92f95ab47f486 (patch)
tree0bb2014230fbf316ad46f913764ee46a89a942d6 /src/components/settings/settings.js
parenta7db72d7a7667fc5f06953b37d32d6847e6dfc58 (diff)
Fix syntax errors and hiding logic.
This has been tested.
Diffstat (limited to 'src/components/settings/settings.js')
-rw-r--r--src/components/settings/settings.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/settings/settings.js b/src/components/settings/settings.js
index 7d58b64c..c1b88f82 100644
--- a/src/components/settings/settings.js
+++ b/src/components/settings/settings.js
@@ -3,7 +3,7 @@ import StyleSwitcher from '../style_switcher/style_switcher.vue'
const settings = {
data () {
return {
- hideAttachmentsLocal: this.$store.state.config.hideAttachments
+ hideAttachmentsLocal: this.$store.state.config.hideAttachments,
hideNsfwLocal: this.$store.state.config.hideNsfw
}
},
@@ -13,7 +13,7 @@ const settings = {
watch: {
hideAttachmentsLocal (value) {
this.$store.dispatch('setOption', { name: 'hideAttachments', value })
- }
+ },
hideNsfwLocal (value) {
this.$store.dispatch('setOption', { name: 'hideNsfw', value })
}