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

14 lines
674 B
JavaScript
Raw Normal View History

2018-09-03 07:43:10 +02:00
const FeaturesPanel = {
computed: {
chat: function () { return this.$store.state.instance.chatAvailable },
2020-05-07 15:10:53 +02:00
pleromaChatMessages: function () { return this.$store.state.instance.pleromaChatMessagesAvailable },
2018-09-09 20:21:23 +02: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 11:41:42 +01:00
minimalScopesMode: function () { return this.$store.state.instance.minimalScopesMode },
2018-09-09 20:21:23 +02:00
textlimit: function () { return this.$store.state.instance.textlimit }
2018-09-03 07:43:10 +02:00
}
}
export default FeaturesPanel