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-03 14:43:10 +09:00
const FeaturesPanel = {
computed: {
shout: function () { return this.$store.state.instance.shoutAvailable },
2020-05-07 16:10:53 +03:00
pleromaChatMessages: function () { return this.$store.state.instance.pleromaChatMessagesAvailable },
2018-09-09 21:21:23 +03: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 12:41:42 +02: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 14:43:10 +09:00
}
}
export default FeaturesPanel