Add option for hiding post statistics (e.g. repeats, favs)
This commit is contained in:
parent
dcb7e1ecf4
commit
bdcbd110e4
9 changed files with 17 additions and 4 deletions
|
@ -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 })
|
||||
},
|
||||
|
|
|
@ -122,6 +122,10 @@
|
|||
<i class="icon-down-open"/>
|
||||
</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="checkbox" id="hidePostStats" v-model="hidePostStatsLocal">
|
||||
<label for="hidePostStats">{{$t('settings.hide_post_stats')}}</label>
|
||||
</div>
|
||||
<div>
|
||||
<input type="checkbox" id="hideUserStats" v-model="hideUserStatsLocal">
|
||||
<label for="hideUserStats">{{$t('settings.hide_user_stats')}}</label>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue