2018-09-03 15:43:10 +10:00
|
|
|
const FeaturesPanel = {
|
|
|
|
computed: {
|
2018-09-04 11:44:25 +10:00
|
|
|
chat: function () {
|
|
|
|
return this.$store.state.config.chatAvailable && (!this.$store.state.chatDisabled)
|
|
|
|
},
|
|
|
|
gopher: function () { return this.$store.state.config.gopherAvailable },
|
2018-09-03 16:23:09 +10:00
|
|
|
whoToFollow: function () { return this.$store.state.config.suggestionsEnabled },
|
2018-09-04 11:44:25 +10:00
|
|
|
mediaProxy: function () { return this.$store.state.config.mediaProxyAvailable },
|
2018-09-03 16:23:09 +10:00
|
|
|
scopeOptions: function () { return this.$store.state.config.scopeOptionsEnabled },
|
|
|
|
textlimit: function () { return this.$store.state.config.textlimit }
|
2018-09-03 15:43:10 +10:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default FeaturesPanel
|