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

12 lines
569 B
JavaScript
Raw Normal View History

2018-09-03 14:43:10 +09:00
const FeaturesPanel = {
computed: {
chat: function () { return this.$store.state.instance.chatAvailable },
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