logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/

features_panel.js (883B)


  1. import fileSizeFormatService from '../../services/file_size_format/file_size_format.js'
  2. const FeaturesPanel = {
  3. computed: {
  4. shout: function () { return this.$store.state.instance.shoutAvailable },
  5. pleromaChatMessages: function () { return this.$store.state.instance.pleromaChatMessagesAvailable },
  6. gopher: function () { return this.$store.state.instance.gopherAvailable },
  7. whoToFollow: function () { return this.$store.state.instance.suggestionsEnabled },
  8. mediaProxy: function () { return this.$store.state.instance.mediaProxyAvailable },
  9. minimalScopesMode: function () { return this.$store.state.instance.minimalScopesMode },
  10. textlimit: function () { return this.$store.state.instance.textlimit },
  11. uploadlimit: function () { return fileSizeFormatService.fileSizeFormat(this.$store.state.instance.uploadlimit) }
  12. }
  13. }
  14. export default FeaturesPanel