logo

pleroma-fe

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

about.js (888B)


  1. import InstanceSpecificPanel from '../instance_specific_panel/instance_specific_panel.vue'
  2. import FeaturesPanel from '../features_panel/features_panel.vue'
  3. import TermsOfServicePanel from '../terms_of_service_panel/terms_of_service_panel.vue'
  4. import StaffPanel from '../staff_panel/staff_panel.vue'
  5. import MRFTransparencyPanel from '../mrf_transparency_panel/mrf_transparency_panel.vue'
  6. const About = {
  7. components: {
  8. InstanceSpecificPanel,
  9. FeaturesPanel,
  10. TermsOfServicePanel,
  11. StaffPanel,
  12. MRFTransparencyPanel
  13. },
  14. computed: {
  15. showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel },
  16. showInstanceSpecificPanel () {
  17. return this.$store.state.instance.showInstanceSpecificPanel &&
  18. !this.$store.getters.mergedConfig.hideISP &&
  19. this.$store.state.instance.instanceSpecificPanelContent
  20. }
  21. }
  22. }
  23. export default About