aboutsummaryrefslogtreecommitdiff
path: root/src/components/features_panel/features_panel.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2018-09-09 21:21:23 +0300
committerHenry Jameson <me@hjkos.com>2018-09-17 17:51:39 +0300
commit82fa5d08c4f441fa9df20edab214b99ecb7776b3 (patch)
tree019ea9955fbe3cd208b65beb7a4abd4339bde23d /src/components/features_panel/features_panel.js
parent2db991fc7fb1eda11b94d585d3b56f9d94c81286 (diff)
more refactoring
Diffstat (limited to 'src/components/features_panel/features_panel.js')
-rw-r--r--src/components/features_panel/features_panel.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/features_panel/features_panel.js b/src/components/features_panel/features_panel.js
index 80f5c966..945165bb 100644
--- a/src/components/features_panel/features_panel.js
+++ b/src/components/features_panel/features_panel.js
@@ -3,11 +3,11 @@ const FeaturesPanel = {
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 },
- textlimit: function () { return this.$store.state.config.textlimit }
+ 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 }
}
}