forked from AkkomaGang/akkoma-fe
The value we are looking for is federationPolicy.enabled, not federationPolicy.federating
Also the || true fallback does not work and always becomes true
This commit is contained in:
parent
2514dc183f
commit
0743fbb28b
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ const NavPanel = {
|
||||||
chat: state => state.chat.channel,
|
chat: state => state.chat.channel,
|
||||||
followRequestCount: state => state.api.followRequests.length,
|
followRequestCount: state => state.api.followRequests.length,
|
||||||
privateMode: state => state.instance.private,
|
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
|
return this.$store.state.instance.private
|
||||||
},
|
},
|
||||||
federating () {
|
federating () {
|
||||||
return this.$store.state.instance.federationPolicy.federating || true
|
return this.$store.state.instance.federationPolicy.enabled
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in a new issue