diff options
Diffstat (limited to 'src/components/features_panel')
| -rw-r--r-- | src/components/features_panel/features_panel.js | 6 | ||||
| -rw-r--r-- | src/components/features_panel/features_panel.vue | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/components/features_panel/features_panel.js b/src/components/features_panel/features_panel.js index 75a671f2..21d78e19 100644 --- a/src/components/features_panel/features_panel.js +++ b/src/components/features_panel/features_panel.js @@ -1,7 +1,11 @@ const FeaturesPanel = { computed: { - mediaProxy: function () { return this.$store.state.config.mediaProxyAvailable }, + 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 } diff --git a/src/components/features_panel/features_panel.vue b/src/components/features_panel/features_panel.vue index 5ec4d255..5c532f1a 100644 --- a/src/components/features_panel/features_panel.vue +++ b/src/components/features_panel/features_panel.vue @@ -8,8 +8,10 @@ </div> <div class="panel-body features-panel"> <ul> - <li v-if="mediaProxy">Media proxy</li> + <li v-if="chat">Chat</li> + <li v-if="gopher">Gopher</li> <li v-if="whoToFollow">Who to follow</li> + <li v-if="mediaProxy">Media proxy</li> <li v-if="scopeOptions">Scope options</li> <li v-if="formattingOptions">Formatting options</li> <li>Text limit = {{textlimit}}</li> |
