diff options
| author | scarlett <nia@netbsd.org> | 2018-09-04 00:41:37 +0100 |
|---|---|---|
| committer | scarlett <nia@netbsd.org> | 2018-09-04 00:41:52 +0100 |
| commit | bdcbd110e42a5deb46116f3ba631118143f71a69 (patch) | |
| tree | 742fb9d16873d30294301ba36f469f7e8ca9ab90 /src/components/settings/settings.js | |
| parent | dcb7e1ecf479a72c904dd882c05f1c446dbe2fe4 (diff) | |
Add option for hiding post statistics (e.g. repeats, favs)
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 088e19d3..1dd53ab2 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, + hidePostStatsLocal: this.$store.state.config.hidePostStats, hideUserStatsLocal: this.$store.state.config.hideUserStats, notificationVisibilityLocal: this.$store.state.config.notificationVisibility, replyVisibilityLocal: this.$store.state.config.replyVisibility, @@ -48,6 +49,9 @@ const settings = { hideAttachmentsInConvLocal (value) { this.$store.dispatch('setOption', { name: 'hideAttachmentsInConv', value }) }, + hidePostStatsLocal (value) { + this.$store.dispatch('setOption', { name: 'hidePostStats', value }) + }, hideUserStatsLocal (value) { this.$store.dispatch('setOption', { name: 'hideUserStats', value }) }, |
