aboutsummaryrefslogtreecommitdiff
path: root/src/components/features_panel/features_panel.js
diff options
context:
space:
mode:
authorHakaba Hitoyo <hakabahitoyo@example.com>2018-09-04 10:44:25 +0900
committerHakaba Hitoyo <hakabahitoyo@example.com>2018-09-04 10:44:25 +0900
commit65115bfc7f991b9203724eab67f73a34259cf6b2 (patch)
tree2b5ad5d3c5580dc2175b54dd1881bd340f105e87 /src/components/features_panel/features_panel.js
parentfa477dd41f78e17bb844342aa770ac8854fe3310 (diff)
features panes supports chat & gopher
Diffstat (limited to 'src/components/features_panel/features_panel.js')
-rw-r--r--src/components/features_panel/features_panel.js6
1 files changed, 5 insertions, 1 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 }