aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/features_panel/features_panel.js5
-rw-r--r--src/components/features_panel/features_panel.vue11
2 files changed, 10 insertions, 6 deletions
diff --git a/src/components/features_panel/features_panel.js b/src/components/features_panel/features_panel.js
index 19018fb4..75a671f2 100644
--- a/src/components/features_panel/features_panel.js
+++ b/src/components/features_panel/features_panel.js
@@ -1,5 +1,10 @@
const FeaturesPanel = {
computed: {
+ mediaProxy: function () { return this.$store.state.config.mediaProxyAvailable },
+ whoToFollow: function () { return this.$store.state.config.suggestionsEnabled },
+ 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 bcb700ed..92fdb1ff 100644
--- a/src/components/features_panel/features_panel.vue
+++ b/src/components/features_panel/features_panel.vue
@@ -8,12 +8,11 @@
</div>
<div class="panel-body features">
<ul>
- <li>Media proxy</li>
- <li>Local chat</li>
- <li>Who to follow</li>
- <li>Scope options</li>
- <li>Formatting options</li>
- <li>Text limit=</li>
+ <li v-if="mediaProxy">Media proxy</li>
+ <li v-if="whoToFollow">Who to follow</li>
+ <li v-if="scopeOptions">Scope options</li>
+ <li v-if="formattingOptions">Formatting options</li>
+ <li>Text limit={{textlimit}}</li>
</ul>
</div>
</div>