yandere_fe/src/components/features_panel/features_panel.js

17 lines
883 B
JavaScript
Raw Normal View History

import fileSizeFormatService from '../../services/file_size_format/file_size_format.js'
2018-09-02 22:43:10 -07:00
const FeaturesPanel = {
computed: {
shout: function () { return this.$store.state.instance.shoutAvailable },
2020-05-07 06:10:53 -07:00
pleromaChatMessages: function () { return this.$store.state.instance.pleromaChatMessagesAvailable },
2018-09-09 11:21:23 -07:00
gopher: function () { return this.$store.state.instance.gopherAvailable },
whoToFollow: function () { return this.$store.state.instance.suggestionsEnabled },
mediaProxy: function () { return this.$store.state.instance.mediaProxyAvailable },
2019-03-30 03:41:42 -07:00
minimalScopesMode: function () { return this.$store.state.instance.minimalScopesMode },
textlimit: function () { return this.$store.state.instance.textlimit },
uploadlimit: function () { return fileSizeFormatService.fileSizeFormat(this.$store.state.instance.uploadlimit) }
2018-09-02 22:43:10 -07:00
}
}
export default FeaturesPanel