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

export default FeaturesPanel