diff options
| author | Henry Jameson <me@hjkos.com> | 2018-09-09 21:21:23 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-09-17 17:51:39 +0300 |
| commit | 82fa5d08c4f441fa9df20edab214b99ecb7776b3 (patch) | |
| tree | 019ea9955fbe3cd208b65beb7a4abd4339bde23d /src/components/features_panel | |
| parent | 2db991fc7fb1eda11b94d585d3b56f9d94c81286 (diff) | |
more refactoring
Diffstat (limited to 'src/components/features_panel')
| -rw-r--r-- | src/components/features_panel/features_panel.js | 10 |
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 } } } |
