diff options
| author | Henry <spam@hjkos.com> | 2018-09-07 16:37:24 +0000 |
|---|---|---|
| committer | Henry <spam@hjkos.com> | 2018-09-07 16:37:24 +0000 |
| commit | 2eab0cb1150dd6dc2c5c34bc350ac07869d6edd4 (patch) | |
| tree | 96d3b0aa200cfa5763a33de15ccca3b35c263efb /src/components/features_panel/features_panel.js | |
| parent | 385484566aa8a524ead77b3841be9af301bf0e5d (diff) | |
| parent | 8b94ea28eceb33e1f3f594f5d99ec0f4111b21ab (diff) | |
Merge branch 'feature/features-panel' into 'develop'
Features panel
See merge request pleroma/pleroma-fe!331
Diffstat (limited to 'src/components/features_panel/features_panel.js')
| -rw-r--r-- | src/components/features_panel/features_panel.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/components/features_panel/features_panel.js b/src/components/features_panel/features_panel.js new file mode 100644 index 00000000..80f5c966 --- /dev/null +++ b/src/components/features_panel/features_panel.js @@ -0,0 +1,14 @@ +const FeaturesPanel = { + computed: { + 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 } + } +} + +export default FeaturesPanel |
