2018-09-03 15:43:10 +10:00
|
|
|
const FeaturesPanel = {
|
|
|
|
computed: {
|
2018-09-04 11:44:25 +10:00
|
|
|
chat: function () {
|
2018-09-10 05:31:34 +10:00
|
|
|
return this.$store.state.instance.chatAvailable && (!this.$store.state.chatDisabled)
|
2018-09-04 11:44:25 +10:00
|
|
|
},
|
2018-09-10 04:21:23 +10: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-30 21:41:42 +11:00
|
|
|
minimalScopesMode: function () { return this.$store.state.instance.minimalScopesMode },
|
2018-09-10 04:21:23 +10:00
|
|
|
textlimit: function () { return this.$store.state.instance.textlimit }
|
2018-09-03 15:43:10 +10:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default FeaturesPanel
|