2018-09-02 22:43:10 -07:00
|
|
|
const FeaturesPanel = {
|
|
|
|
computed: {
|
2018-09-03 18:44:25 -07:00
|
|
|
chat: function () {
|
2018-09-09 12:31:34 -07:00
|
|
|
return this.$store.state.instance.chatAvailable && (!this.$store.state.chatDisabled)
|
2018-09-03 18:44:25 -07:00
|
|
|
},
|
2018-09-09 11:21:23 -07:00
|
|
|
gopher: function () { return this.$store.state.instance.gopherAvailable },
|
|
|
|
whoToFollow: function () { return this.$store.state.instance.suggestionsEnabled },
|
|
|
|
mediaProxy: function () { return this.$store.state.instance.mediaProxyAvailable },
|
2019-03-03 05:15:41 -08:00
|
|
|
scopeOptionsMinimal: function () { return this.$store.state.instance.scopeOptionsMinimal },
|
2018-09-09 11:21:23 -07:00
|
|
|
textlimit: function () { return this.$store.state.instance.textlimit }
|
2018-09-02 22:43:10 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default FeaturesPanel
|