Add option to hide features panel (About page)
This commit is contained in:
parent
1ee762cf6e
commit
e3da156162
|
@ -7,6 +7,9 @@ const About = {
|
||||||
InstanceSpecificPanel,
|
InstanceSpecificPanel,
|
||||||
FeaturesPanel,
|
FeaturesPanel,
|
||||||
TermsOfServicePanel
|
TermsOfServicePanel
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
showFeaturesPanel () { return this.$store.state.config.showFeaturesPanel }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="sidebar">
|
<div class="sidebar">
|
||||||
<instance-specific-panel></instance-specific-panel>
|
<instance-specific-panel></instance-specific-panel>
|
||||||
<features-panel></features-panel>
|
<features-panel v-if="showFeaturesPanel"></features-panel>
|
||||||
<terms-of-service-panel></terms-of-service-panel>
|
<terms-of-service-panel></terms-of-service-panel>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue