2020-12-11 14:11:03 +00:00
|
|
|
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 },
|
2020-12-11 14:11:03 +00:00
|
|
|
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
|