forked from AkkomaGang/akkoma-fe
Hide staff panel if private mode which is empty anyway
This commit is contained in:
parent
311b38f9fb
commit
7a60b3a455
2 changed files with 3 additions and 1 deletions
|
@ -13,6 +13,8 @@ const About = {
|
|||
MRFTransparencyPanel
|
||||
},
|
||||
computed: {
|
||||
currentUser () { return this.$store.state.users.currentUser },
|
||||
privateMode () { return this.$store.state.instance.private },
|
||||
showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel },
|
||||
showInstanceSpecificPanel () {
|
||||
return this.$store.state.instance.showInstanceSpecificPanel &&
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="column-inner">
|
||||
<!--<instance-specific-panel v-if="showInstanceSpecificPanel" />-->
|
||||
<staff-panel />
|
||||
<staff-panel v-if="currentUser || !privateMode" />
|
||||
<terms-of-service-panel />
|
||||
<MRFTransparencyPanel />
|
||||
<features-panel v-if="showFeaturesPanel" />
|
||||
|
|
Loading…
Reference in a new issue