aboutsummaryrefslogtreecommitdiff
path: root/src/components/side_drawer/side_drawer.js
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2019-11-11 14:37:14 -0600
committerAriadne Conill <ariadne@dereferenced.org>2019-11-11 14:37:14 -0600
commit43d4d17b41863dd5784f1d611857a9064759946b (patch)
treee3aaf1798fe779c11a28b52a20ccbde1faf0f833 /src/components/side_drawer/side_drawer.js
parentcb5f73148a2dc9341d16326ed606d74e818fb61d (diff)
side drawer: same treatment
Diffstat (limited to 'src/components/side_drawer/side_drawer.js')
-rw-r--r--src/components/side_drawer/side_drawer.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/side_drawer/side_drawer.js b/src/components/side_drawer/side_drawer.js
index 567d2e5e..2725d43a 100644
--- a/src/components/side_drawer/side_drawer.js
+++ b/src/components/side_drawer/side_drawer.js
@@ -34,6 +34,12 @@ const SideDrawer = {
},
followRequestCount () {
return this.$store.state.api.followRequests.length
+ },
+ privateMode () {
+ return this.$store.state.instance.private
+ },
+ federating () {
+ return this.$store.state.instance.federationPolicy.federating || true
}
},
methods: {