aboutsummaryrefslogtreecommitdiff
path: root/src/components/features_panel/features_panel.js
blob: 5f80a0797ac3dd536b743a312f25316f960cda6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
const FeaturesPanel = {
  computed: {
    chat: function () { return this.$store.state.instance.chatAvailable },
    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