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

28 lines
986 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 05:21:07 +00:00
import StaffPanel from '../staff_panel/staff_panel.vue'
2019-11-09 06:09:32 +00:00
import MRFTransparencyPanel from '../mrf_transparency_panel/mrf_transparency_panel.vue'
import LocalBubblePanel from '../local_bubble_panel/local_bubble_panel.vue'
const About = {
components: {
InstanceSpecificPanel,
FeaturesPanel,
2019-11-09 05:21:07 +00:00
TermsOfServicePanel,
2019-11-09 06:09:32 +00:00
StaffPanel,
MRFTransparencyPanel,
LocalBubblePanel
},
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