diff options
| author | Roger Braun <roger@rogerbraun.net> | 2017-03-10 13:27:58 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2017-03-10 13:27:58 +0100 |
| commit | 112adcf8f83e1bd8dd347ef8ee4de46060b53341 (patch) | |
| tree | aa6288f000d72dfd2f166642d413637a77f1aa42 /src/components/settings/settings.js | |
| parent | 0eeccb87cef4d137710e3c7fd215b94e45aff3d1 (diff) | |
| parent | 33f72ab2c215ebd7709edaf7a63062aabe8363cc (diff) | |
Merge branch 'develop' into feature/hash-routed
Diffstat (limited to 'src/components/settings/settings.js')
| -rw-r--r-- | src/components/settings/settings.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/settings/settings.js b/src/components/settings/settings.js index c1b88f82..3d373283 100644 --- a/src/components/settings/settings.js +++ b/src/components/settings/settings.js @@ -4,6 +4,7 @@ const settings = { data () { return { hideAttachmentsLocal: this.$store.state.config.hideAttachments, + hideAttachmentsInConvLocal: this.$store.state.config.hideAttachmentsInConv, hideNsfwLocal: this.$store.state.config.hideNsfw } }, @@ -14,6 +15,9 @@ const settings = { hideAttachmentsLocal (value) { this.$store.dispatch('setOption', { name: 'hideAttachments', value }) }, + hideAttachmentsInConvLocal (value) { + this.$store.dispatch('setOption', { name: 'hideAttachmentsInConv', value }) + }, hideNsfwLocal (value) { this.$store.dispatch('setOption', { name: 'hideNsfw', value }) } |
