nav panel: disable TWKN if federation disabled, disable Public and TWKN if privateMode is enabled
This commit is contained in:
parent
21f1637e43
commit
1f9674350c
2 changed files with 5 additions and 3 deletions
|
@ -13,7 +13,9 @@ const NavPanel = {
|
|||
computed: mapState({
|
||||
currentUser: state => state.users.currentUser,
|
||||
chat: state => state.chat.channel,
|
||||
followRequestCount: state => state.api.followRequests.length
|
||||
followRequestCount: state => state.api.followRequests.length,
|
||||
privateMode: state => state.instance.private,
|
||||
federating: state => state.instance.federationPolicy.federating || true
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue