aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline_quick_settings.js
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2021-02-25 11:01:11 +0200
committerShpuld Shpuldson <shp@cock.li>2021-02-25 11:01:11 +0200
commit93785634a72420338911d8a8a7fc7eef3eb478e4 (patch)
treed8b3de8c079d8736e52bfac8a0c360de4d9aae2d /src/components/timeline/timeline_quick_settings.js
parent51a78e8b8a89065062d5b4c1b72d5bdd457d9663 (diff)
basic loggedin check for reply filtering
Diffstat (limited to 'src/components/timeline/timeline_quick_settings.js')
-rw-r--r--src/components/timeline/timeline_quick_settings.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/timeline/timeline_quick_settings.js b/src/components/timeline/timeline_quick_settings.js
index eb1eb8fb..ecac06e9 100644
--- a/src/components/timeline/timeline_quick_settings.js
+++ b/src/components/timeline/timeline_quick_settings.js
@@ -26,6 +26,9 @@ const TimelineQuickSettings = {
},
computed: {
...mapGetters(['mergedConfig']),
+ loggedIn () {
+ return !!this.$store.state.users.currentUser
+ },
replyVisibilitySelf: {
get () { return this.mergedConfig.replyVisibility === 'self' },
set () { this.setReplyVisibility('self') }