aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline_quick_settings.js
diff options
context:
space:
mode:
authorIlja <ilja@ilja.space>2022-03-26 12:07:57 +0100
committerIlja <ilja@ilja.space>2022-03-26 12:07:57 +0100
commitc34fdd46daedf94b8c777e541623f166dabde798 (patch)
treef3f766970638cbffdbeac29b4b8a39d66f3b34bc /src/components/timeline/timeline_quick_settings.js
parent2dd75ca76cd36846e76d74fc2f4d5dcedfcc66d7 (diff)
parentfd77c583bf18be81b628d92b1f95cc14a2d9c09d (diff)
Merge remote-tracking branch 'pleroma/develop' into improve_delete_user_confirmation_message
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 })
+ }
}
}
}