Hide mentions of bubble timeline if empty

This commit is contained in:
Sol Fisher Romanoff 2022-09-14 21:44:29 +03:00
parent f628483499
commit b936506f47
No known key found for this signature in database
GPG key ID: 9D3F2B64F2341B62
5 changed files with 7 additions and 4 deletions

View file

@ -20,6 +20,9 @@ const About = {
return this.$store.state.instance.showInstanceSpecificPanel &&
!this.$store.getters.mergedConfig.hideISP &&
this.$store.state.instance.instanceSpecificPanelContent
},
showLocalBubblePanel () {
return this.$store.state.instance.localBubbleInstances.length > 0
}
}
}

View file

@ -3,7 +3,7 @@
<instance-specific-panel v-if="showInstanceSpecificPanel" />
<staff-panel />
<terms-of-service-panel />
<LocalBubblePanel />
<LocalBubblePanel v-if="showLocalBubblePanel" />
<MRFTransparencyPanel />
<features-panel v-if="showFeaturesPanel" />
</div>