aboutsummaryrefslogtreecommitdiff
path: root/src/components/about/about.js
diff options
context:
space:
mode:
authorkaniini <ariadne@dereferenced.org>2019-11-09 17:38:45 +0000
committerkaniini <ariadne@dereferenced.org>2019-11-09 17:38:45 +0000
commitc873a18c64c995721e62399428205c451f8b4758 (patch)
tree106417c3e17c7e38c6e0ed47bc7b8bd506a624be /src/components/about/about.js
parent044c9ad0562af059dd961d50961a3880fca9c642 (diff)
parenta2a94c4b7b33611d97c61761de0cef85eb892bb1 (diff)
Merge branch 'feature/about-page' into 'develop'
Feature/about page Closes #699 See merge request pleroma/pleroma-fe!985
Diffstat (limited to 'src/components/about/about.js')
-rw-r--r--src/components/about/about.js13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/components/about/about.js b/src/components/about/about.js
index ae1cb182..1df25845 100644
--- a/src/components/about/about.js
+++ b/src/components/about/about.js
@@ -1,15 +1,24 @@
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'
+import StaffPanel from '../staff_panel/staff_panel.vue'
+import MRFTransparencyPanel from '../mrf_transparency_panel/mrf_transparency_panel.vue'
const About = {
components: {
InstanceSpecificPanel,
FeaturesPanel,
- TermsOfServicePanel
+ TermsOfServicePanel,
+ StaffPanel,
+ MRFTransparencyPanel
},
computed: {
- showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel }
+ showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel },
+ showInstanceSpecificPanel () {
+ return this.$store.state.instance.showInstanceSpecificPanel &&
+ !this.$store.getters.mergedConfig.hideISP &&
+ this.$store.state.instance.instanceSpecificPanelContent
+ }
}
}