diff options
| author | Alexander Tumin <iamtakingiteasy@eientei.org> | 2022-02-28 23:07:20 +0300 |
|---|---|---|
| committer | Alexander Tumin <iamtakingiteasy@eientei.org> | 2022-02-28 23:14:45 +0300 |
| commit | fe0ed7e8f0941195547b924f99f6c0be707bf964 (patch) | |
| tree | 07f420bcccd495080f6493eb69afdde2ff6e0438 /src/components/timeline/timeline_quick_settings.js | |
| parent | 514d7d3f887e8a4724f1997d42d93c75202dc58b (diff) | |
Mute bot posts
Diffstat (limited to 'src/components/timeline/timeline_quick_settings.js')
| -rw-r--r-- | src/components/timeline/timeline_quick_settings.js | 7 |
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 }) + } } } } |
