diff --git a/src/App.js b/src/App.js index 83a61d3926..18bff2dde4 100644 --- a/src/App.js +++ b/src/App.js @@ -81,7 +81,8 @@ export default { }, unseenNotificationsCount () { return this.unseenNotifications.length - } + }, + showFeaturesPanel () { return this.$store.state.config.showFeaturesPanel } }, methods: { scrollToTop () { diff --git a/src/App.vue b/src/App.vue index 833608ea59..082c6cb6a0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -29,7 +29,7 @@ - + diff --git a/src/components/about/about.js b/src/components/about/about.js index b4433b4e06..b1ce3c7d30 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 bf87e0b859..13dec87c55 100644 --- a/src/components/about/about.vue +++ b/src/components/about/about.vue @@ -1,7 +1,7 @@ diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue index 35b27319f1..7129430b85 100644 --- a/src/components/user_card/user_card.vue +++ b/src/components/user_card/user_card.vue @@ -1,8 +1,8 @@