aboutsummaryrefslogtreecommitdiff
path: root/src/components/settings/settings.js
diff options
context:
space:
mode:
authorscarlett <nia@netbsd.org>2018-09-04 00:32:25 +0100
committerscarlett <nia@netbsd.org>2018-09-04 00:32:25 +0100
commitdcb7e1ecf479a72c904dd882c05f1c446dbe2fe4 (patch)
treec2a9be808c50d183d5d9e30c7f0ed2c9f18bbde3 /src/components/settings/settings.js
parentc348a3ec11585d5157177044e1fc9d9ac2322653 (diff)
Add option for disabling counts (followers, statuses) in user profiles.
Diffstat (limited to 'src/components/settings/settings.js')
-rw-r--r--src/components/settings/settings.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/settings/settings.js b/src/components/settings/settings.js
index de12894b..088e19d3 100644
--- a/src/components/settings/settings.js
+++ b/src/components/settings/settings.js
@@ -10,6 +10,7 @@ const settings = {
hideAttachmentsLocal: this.$store.state.config.hideAttachments,
hideAttachmentsInConvLocal: this.$store.state.config.hideAttachmentsInConv,
hideNsfwLocal: this.$store.state.config.hideNsfw,
+ hideUserStatsLocal: this.$store.state.config.hideUserStats,
notificationVisibilityLocal: this.$store.state.config.notificationVisibility,
replyVisibilityLocal: this.$store.state.config.replyVisibility,
loopVideoLocal: this.$store.state.config.loopVideo,
@@ -47,6 +48,9 @@ const settings = {
hideAttachmentsInConvLocal (value) {
this.$store.dispatch('setOption', { name: 'hideAttachmentsInConv', value })
},
+ hideUserStatsLocal (value) {
+ this.$store.dispatch('setOption', { name: 'hideUserStats', value })
+ },
hideNsfwLocal (value) {
this.$store.dispatch('setOption', { name: 'hideNsfw', value })
},