amputoma-fe/src/components/features_panel/features_panel.js

15 lines
616 B
JavaScript
Raw Normal View History

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