aboutsummaryrefslogtreecommitdiff
path: root/src/components/about/about.js
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2019-11-08 21:57:09 -0600
committerAriadne Conill <ariadne@dereferenced.org>2019-11-08 21:57:09 -0600
commit5db77c839bcf2ec433c8618c5b2ef1ff850df613 (patch)
treea522529f90898364cd0b4349b6c455a2614b50ae /src/components/about/about.js
parent6cede475bec01755d168586b4a2a2241a8bc18ab (diff)
about page: fix hiding of instance-specific panel, flow ToS and ISP better
Diffstat (limited to 'src/components/about/about.js')
-rw-r--r--src/components/about/about.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/about/about.js b/src/components/about/about.js
index ae1cb182..92856b21 100644
--- a/src/components/about/about.js
+++ b/src/components/about/about.js
@@ -9,7 +9,12 @@ const About = {
TermsOfServicePanel
},
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
+ }
}
}