pleroma-fe/src/components/about/about.js

26 lines
888 B
JavaScript
Raw Normal View History

import InstanceSpecificPanel from '../instance_specific_panel/instance_specific_panel.vue'
import FeaturesPanel from '../features_panel/features_panel.vue'
import TermsOfServicePanel from '../terms_of_service_panel/terms_of_service_panel.vue'
2019-11-09 06:21:07 +01:00
import StaffPanel from '../staff_panel/staff_panel.vue'
2019-11-09 07:09:32 +01:00
import MRFTransparencyPanel from '../mrf_transparency_panel/mrf_transparency_panel.vue'
const About = {
components: {
InstanceSpecificPanel,
FeaturesPanel,
2019-11-09 06:21:07 +01:00
TermsOfServicePanel,
2019-11-09 07:09:32 +01:00
StaffPanel,
MRFTransparencyPanel
},
computed: {
showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel },
showInstanceSpecificPanel () {
return this.$store.state.instance.showInstanceSpecificPanel &&
!this.$store.getters.mergedConfig.hideISP &&
this.$store.state.instance.instanceSpecificPanelContent
}
}
}
export default About