aboutsummaryrefslogtreecommitdiff
path: root/src/components/features_panel/features_panel.js
diff options
context:
space:
mode:
authorHenry <spam@hjkos.com>2018-09-21 09:19:02 +0000
committerHenry <spam@hjkos.com>2018-09-21 09:19:02 +0000
commitcd48268c858f4a7f24767e41e81cb6524393c5e6 (patch)
tree64020b07266815f88990274c5ad5ee134f04d5f1 /src/components/features_panel/features_panel.js
parent6f32ccf41717c2b59404c04ab0b0cb4b8c8171e3 (diff)
parent1c2f0029e4835a34a94aba2aac7eeff592aa0d95 (diff)
Merge branch 'betterStorage' into 'develop'
Better storage See merge request pleroma/pleroma-fe!343
Diffstat (limited to 'src/components/features_panel/features_panel.js')
-rw-r--r--src/components/features_panel/features_panel.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/features_panel/features_panel.js b/src/components/features_panel/features_panel.js
index 80f5c966..e0b7a118 100644
--- a/src/components/features_panel/features_panel.js
+++ b/src/components/features_panel/features_panel.js
@@ -1,13 +1,13 @@
const FeaturesPanel = {
computed: {
chat: function () {
- return this.$store.state.config.chatAvailable && (!this.$store.state.chatDisabled)
+ return this.$store.state.instance.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 }
}
}