forked from AkkomaGang/akkoma-fe
Add option to hide features panel
This commit is contained in:
parent
448317338e
commit
f2c6dd6581
3 changed files with 5 additions and 3 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue