|
|
@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
import fileSizeFormatService from '../../services/file_size_format/file_size_format.js'
|
|
|
|
|
|
|
|
|
|
|
|
const FeaturesPanel = {
|
|
|
|
const FeaturesPanel = {
|
|
|
|
computed: {
|
|
|
|
computed: {
|
|
|
|
chat: function () { return this.$store.state.instance.chatAvailable },
|
|
|
|
chat: function () { return this.$store.state.instance.chatAvailable },
|
|
|
@ -6,7 +8,8 @@ const FeaturesPanel = {
|
|
|
|
whoToFollow: function () { return this.$store.state.instance.suggestionsEnabled },
|
|
|
|
whoToFollow: function () { return this.$store.state.instance.suggestionsEnabled },
|
|
|
|
mediaProxy: function () { return this.$store.state.instance.mediaProxyAvailable },
|
|
|
|
mediaProxy: function () { return this.$store.state.instance.mediaProxyAvailable },
|
|
|
|
minimalScopesMode: function () { return this.$store.state.instance.minimalScopesMode },
|
|
|
|
minimalScopesMode: function () { return this.$store.state.instance.minimalScopesMode },
|
|
|
|
textlimit: function () { return this.$store.state.instance.textlimit }
|
|
|
|
textlimit: function () { return this.$store.state.instance.textlimit },
|
|
|
|
|
|
|
|
uploadlimit: function () { return fileSizeFormatService.fileSizeFormat(this.$store.state.instance.uploadlimit) }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|