diff options
| author | Xiaofeng An <futureweb2020@yandex.com> | 2019-02-06 04:37:00 -0500 |
|---|---|---|
| committer | Xiaofeng An <futureweb2020@yandex.com> | 2019-02-06 04:37:00 -0500 |
| commit | e4c0bbddd912c8df50883f5d222a8aff510a2c59 (patch) | |
| tree | 63394e6f53d75548084529c097bcff982dd5d47c /src/components/about | |
| parent | d2436fb9e5f8f512914033a2df33c57545d277a6 (diff) | |
| parent | 2d333f99e8d36c56e62db3e13428610df0b3874c (diff) | |
Merge branch 'develop' into fix/create-a-login-hint-on-mobile
Diffstat (limited to 'src/components/about')
| -rw-r--r-- | src/components/about/about.js | 3 | ||||
| -rw-r--r-- | src/components/about/about.vue | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/components/about/about.js b/src/components/about/about.js index b4433b4e..b1ce3c7d 100644 --- a/src/components/about/about.js +++ b/src/components/about/about.js @@ -7,6 +7,9 @@ const About = { InstanceSpecificPanel, FeaturesPanel, TermsOfServicePanel + }, + computed: { + showFeaturesPanel () { return this.$store.state.config.showFeaturesPanel } } } diff --git a/src/components/about/about.vue b/src/components/about/about.vue index bf87e0b8..13dec87c 100644 --- a/src/components/about/about.vue +++ b/src/components/about/about.vue @@ -1,7 +1,7 @@ <template> <div class="sidebar"> <instance-specific-panel></instance-specific-panel> - <features-panel></features-panel> + <features-panel v-if="showFeaturesPanel"></features-panel> <terms-of-service-panel></terms-of-service-panel> </div> </template> |
