aboutsummaryrefslogtreecommitdiff
path: root/src/components/features_panel/features_panel.js
blob: 620a85ea7cd519ca85d7744f5188e20be7c62204 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
const FeaturesPanel = {
  computed: {
    chat: function () { return this.$store.state.instance.chatAvailable },
    pleromaChatMessages: function () { return this.$store.state.instance.pleromaChatMessagesAvailable },
    gopher: function () { return this.$store.state.instance.gopherAvailable },
    whoToFollow: function () { return this.$store.state.instance.suggestionsEnabled },
    mediaProxy: function () { return this.$store.state.instance.mediaProxyAvailable },
    minimalScopesMode: function () { return this.$store.state.instance.minimalScopesMode },
    textlimit: function () { return this.$store.state.instance.textlimit }
  }
}

export default FeaturesPanel