Add option to hide features panel (About page)

tae-hoon/pleroma-fe-323-improve-image-lightbox
dev92341 6 years ago
parent 1ee762cf6e
commit e3da156162

@ -7,6 +7,9 @@ const About = {
InstanceSpecificPanel,
FeaturesPanel,
TermsOfServicePanel
},
computed: {
showFeaturesPanel () { return this.$store.state.config.showFeaturesPanel }
}
}

@ -1,7 +1,7 @@
<template>
<div class="sidebar">
<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>
</div>
</template>

Loading…
Cancel
Save