diff --git a/src/App.js b/src/App.js index 83a61d3926d9556616a90857e1e2d68446c7be23..18bff2dde4bf3f7a07f253188688424e6417bdd6 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 833608ea598835cef9c304d99382d3fc95f13d61..b999d88953ecc4feea87632106da592e2627803a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -29,7 +29,7 @@ <user-panel></user-panel> <nav-panel></nav-panel> <instance-specific-panel v-if="showInstanceSpecificPanel"></instance-specific-panel> - <features-panel v-if="!currentUser"></features-panel> + <features-panel v-if="!currentUser &&showFeaturesPanel"></features-panel> <who-to-follow-panel v-if="currentUser && suggestionsEnabled"></who-to-follow-panel> <notifications v-if="currentUser"></notifications> </div> diff --git a/src/modules/config.js b/src/modules/config.js index c9528f6f478b2498755034b345598eabc05e32b7..526a702108baa9189021997f38afcc08b156a8eb 100644 --- a/src/modules/config.js +++ b/src/modules/config.js @@ -30,7 +30,8 @@ const defaultState = { interfaceLanguage: browserLocale, scopeCopy: undefined, // instance default subjectLineBehavior: undefined, // instance default - alwaysShowSubjectInput: undefined // instance default + alwaysShowSubjectInput: undefined, // instance default + showFeaturesPanel: true } const config = {