yandere_fe/src/components/features_panel/features_panel.js

15 lines
601 B
JavaScript
Raw Normal View History

2018-09-02 22:43:10 -07:00
const FeaturesPanel = {
computed: {
2018-09-03 18:44:25 -07:00
chat: function () {
return this.$store.state.config.chatAvailable && (!this.$store.state.chatDisabled)
},
gopher: function () { return this.$store.state.config.gopherAvailable },
2018-09-02 23:23:09 -07:00
whoToFollow: function () { return this.$store.state.config.suggestionsEnabled },
2018-09-03 18:44:25 -07:00
mediaProxy: function () { return this.$store.state.config.mediaProxyAvailable },
2018-09-02 23:23:09 -07:00
scopeOptions: function () { return this.$store.state.config.scopeOptionsEnabled },
textlimit: function () { return this.$store.state.config.textlimit }
2018-09-02 22:43:10 -07:00
}
}
export default FeaturesPanel