2019-01-07 17:26:47 +00:00
|
|
|
import FeaturesPanel from '../features_panel/features_panel.vue'
|
2026-01-06 16:23:17 +02:00
|
|
|
import InstanceSpecificPanel from '../instance_specific_panel/instance_specific_panel.vue'
|
2019-11-09 00:09:32 -06:00
|
|
|
import MRFTransparencyPanel from '../mrf_transparency_panel/mrf_transparency_panel.vue'
|
2026-01-06 16:23:17 +02:00
|
|
|
import StaffPanel from '../staff_panel/staff_panel.vue'
|
|
|
|
|
import TermsOfServicePanel from '../terms_of_service_panel/terms_of_service_panel.vue'
|
2019-01-07 17:26:47 +00:00
|
|
|
|
2026-01-29 20:40:00 +02:00
|
|
|
import { useInstanceStore } from 'src/stores/instance.js'
|
|
|
|
|
|
2019-01-07 17:26:47 +00:00
|
|
|
const About = {
|
|
|
|
|
components: {
|
|
|
|
|
InstanceSpecificPanel,
|
|
|
|
|
FeaturesPanel,
|
2019-11-08 23:21:07 -06:00
|
|
|
TermsOfServicePanel,
|
2019-11-09 00:09:32 -06:00
|
|
|
StaffPanel,
|
2026-01-06 16:22:52 +02:00
|
|
|
MRFTransparencyPanel,
|
2019-02-05 06:12:14 -08:00
|
|
|
},
|
|
|
|
|
computed: {
|
2026-01-06 16:22:52 +02:00
|
|
|
showFeaturesPanel() {
|
2026-01-29 15:11:47 +02:00
|
|
|
return useInstanceStore().instanceIdentity.showFeaturesPanel
|
2026-01-06 16:22:52 +02:00
|
|
|
},
|
|
|
|
|
showInstanceSpecificPanel() {
|
|
|
|
|
return (
|
2026-01-29 15:11:47 +02:00
|
|
|
useInstanceStore().instanceIdentity.showInstanceSpecificPanel &&
|
2019-11-08 21:57:09 -06:00
|
|
|
!this.$store.getters.mergedConfig.hideISP &&
|
2026-01-29 15:11:47 +02:00
|
|
|
useInstanceStore().instanceIdentity.instanceSpecificPanelContent
|
2026-01-06 16:22:52 +02:00
|
|
|
)
|
|
|
|
|
},
|
|
|
|
|
},
|
2019-01-07 17:26:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default About
|