diff options
| author | Henry Jameson <me@hjkos.com> | 2018-12-05 11:37:01 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-12-05 11:37:01 +0300 |
| commit | 47b0b385f41d925d38642329937423cf0022865d (patch) | |
| tree | 98fcbe4ad4361afbb033554ba5d0f978c26dd4b7 /src/components/settings/settings.js | |
| parent | 914386270796fa2ec460b828710ee31ef870ea69 (diff) | |
Added user option to hide instance-specific panel, rearranged config screen to
better categorize it / adjustments to language selector
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 91a2014a..19bd2e5b 100644 --- a/src/components/settings/settings.js +++ b/src/components/settings/settings.js @@ -13,6 +13,7 @@ const settings = { hideAttachmentsLocal: user.hideAttachments, hideAttachmentsInConvLocal: user.hideAttachmentsInConv, hideNsfwLocal: user.hideNsfw, + hideISPLocal: user.hideISP, hidePostStatsLocal: typeof user.hidePostStats === 'undefined' ? instance.hidePostStats : user.hidePostStats, @@ -83,6 +84,9 @@ const settings = { hideNsfwLocal (value) { this.$store.dispatch('setOption', { name: 'hideNsfw', value }) }, + hideISPLocal (value) { + this.$store.dispatch('setOption', { name: 'hideISP', value }) + }, 'notificationVisibilityLocal.likes' (value) { this.$store.dispatch('setOption', { name: 'notificationVisibility', value: this.$store.state.config.notificationVisibility }) }, |
