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
|
MRFTransparencyPanel
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
currentUser () { return this.$store.state.users.currentUser },
|
||||||
|
privateMode () { return this.$store.state.instance.private },
|
||||||
showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel },
|
showFeaturesPanel () { return this.$store.state.instance.showFeaturesPanel },
|
||||||
showInstanceSpecificPanel () {
|
showInstanceSpecificPanel () {
|
||||||
return this.$store.state.instance.showInstanceSpecificPanel &&
|
return this.$store.state.instance.showInstanceSpecificPanel &&
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="column-inner">
|
<div class="column-inner">
|
||||||
<!--<instance-specific-panel v-if="showInstanceSpecificPanel" />-->
|
<!--<instance-specific-panel v-if="showInstanceSpecificPanel" />-->
|
||||||
<staff-panel />
|
<staff-panel v-if="currentUser || !privateMode" />
|
||||||
<terms-of-service-panel />
|
<terms-of-service-panel />
|
||||||
<MRFTransparencyPanel />
|
<MRFTransparencyPanel />
|
||||||
<features-panel v-if="showFeaturesPanel" />
|
<features-panel v-if="showFeaturesPanel" />
|
||||||
|
|
Loading…
Reference in a new issue