pleroma-fe/src/components/features_panel/features_panel.js

14 lines
622 B
JavaScript
Raw Normal View History

import fileSizeFormatService from '../../services/file_size_format/file_size_format.js'
2018-09-03 05:43:10 +00:00
const FeaturesPanel = {
computed: {
2018-09-09 18:21:23 +00:00
whoToFollow: function () { return this.$store.state.instance.suggestionsEnabled },
mediaProxy: function () { return this.$store.state.instance.mediaProxyAvailable },
2019-03-30 10:41:42 +00: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-03 05:43:10 +00:00
}
}
export default FeaturesPanel