Skip to content
Snippets Groups Projects
Commit f2c6dd65 authored by dev92341's avatar dev92341
Browse files

Add option to hide features panel

parent 44831733
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,8 @@ export default {
},
unseenNotificationsCount () {
return this.unseenNotifications.length
}
},
showFeaturesPanel () { return this.$store.state.config.showFeaturesPanel }
},
methods: {
scrollToTop () {
......
......@@ -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>
......
......@@ -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 = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment