diff options
| author | Ilja <ilja@ilja.space> | 2022-03-20 09:53:57 +0100 |
|---|---|---|
| committer | Ilja <ilja@ilja.space> | 2022-03-20 09:53:57 +0100 |
| commit | d0bfd9a80826a7cdb37e1a84cf70ab8a44c3579e (patch) | |
| tree | 4a0fbf2367e7bb8f4d2e71cb2499f15416bf97ef /src/components/timeline/timeline_quick_settings.js | |
| parent | f9393b0dab22279e9bdb97a1cf52fecfe278a4a7 (diff) | |
| parent | 6f1d953642473412c094e5b723eb479e2b19a542 (diff) | |
Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma-fe into feat/report-notification
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 }) + } } } } |
