logo

pleroma-fe

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

instance_tab.js (917B)


  1. import BooleanSetting from '../helpers/boolean_setting.vue'
  2. import ChoiceSetting from '../helpers/choice_setting.vue'
  3. import IntegerSetting from '../helpers/integer_setting.vue'
  4. import StringSetting from '../helpers/string_setting.vue'
  5. import GroupSetting from '../helpers/group_setting.vue'
  6. import AttachmentSetting from '../helpers/attachment_setting.vue'
  7. import SharedComputedObject from '../helpers/shared_computed_object.js'
  8. import { library } from '@fortawesome/fontawesome-svg-core'
  9. import {
  10. faGlobe
  11. } from '@fortawesome/free-solid-svg-icons'
  12. library.add(
  13. faGlobe
  14. )
  15. const InstanceTab = {
  16. provide () {
  17. return {
  18. defaultDraftMode: true,
  19. defaultSource: 'admin'
  20. }
  21. },
  22. components: {
  23. BooleanSetting,
  24. ChoiceSetting,
  25. IntegerSetting,
  26. StringSetting,
  27. AttachmentSetting,
  28. GroupSetting
  29. },
  30. computed: {
  31. ...SharedComputedObject()
  32. }
  33. }
  34. export default InstanceTab