aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline_quick_settings.js
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2022-03-13 14:04:15 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2022-03-13 14:04:15 +0000
commit51b14cc61578c6aee80fbf63dce2dbb7503914bb (patch)
tree5c24fe9969c8a871870a325d3f97c3ed99f6ac80 /src/components/timeline/timeline_quick_settings.js
parent80bd6433aa26d1b8404b0ca7105d9999aa22495b (diff)
parent450145dd6b0c91e80b957d7c39dbf6b809b056be (diff)
Merge branch 'eientei' into 'develop'
Mute bot posts filtering option See merge request pleroma/pleroma-fe!1440
Diffstat (limited to 'src/components/timeline/timeline_quick_settings.js')
-rw-r--r--src/components/timeline/timeline_quick_settings.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/components/timeline/timeline_quick_settings.js b/src/components/timeline/timeline_quick_settings.js
index 7b4931ce..92d5ac14 100644
--- a/src/components/timeline/timeline_quick_settings.js
+++ b/src/components/timeline/timeline_quick_settings.js
@@ -53,6 +53,13 @@ const TimelineQuickSettings = {
const value = !this.hideMutedPosts
this.$store.dispatch('setOption', { name: 'hideFilteredStatuses', value })
}
+ },
+ muteBotStatuses: {
+ get () { return this.mergedConfig.muteBotStatuses },
+ set () {
+ const value = !this.muteBotStatuses
+ this.$store.dispatch('setOption', { name: 'muteBotStatuses', value })
+ }
}
}
}