features panes supports chat & gopher

This commit is contained in:
Hakaba Hitoyo 2018-09-04 10:44:25 +09:00
parent fa477dd41f
commit 65115bfc7f
3 changed files with 14 additions and 5 deletions

View file

@ -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 }