Commit 0743fbb2 authored by feld's avatar feld

The value we are looking for is federationPolicy.enabled, not federationPolicy.federating

Also the || true fallback does not work and always becomes true
parent 2514dc18
......@@ -11,7 +11,7 @@ const NavPanel = {
chat: state => state.chat.channel,
followRequestCount: state => state.api.followRequests.length,
privateMode: state => state.instance.private,
federating: state => state.instance.federationPolicy.federating || true
federating: state => state.instance.federationPolicy.enabled
})
}
......
......@@ -46,7 +46,7 @@ const SideDrawer = {
return this.$store.state.instance.private
},
federating () {
return this.$store.state.instance.federationPolicy.federating || true
return this.$store.state.instance.federationPolicy.enabled
}
},
methods: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment