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

export default FeaturesPanel