Hide bubble timeline icon from desktop nav if empty #197

Merged
floatingghost merged 1 commit from :fix/navbar-hide-bubble into develop 2022-11-10 12:10:05 +00:00
2 changed files with 4 additions and 1 deletions

View file

@ -100,6 +100,9 @@ export default {
privateMode () { return this.$store.state.instance.private },
shouldConfirmLogout () {
return this.$store.getters.mergedConfig.modalOnLogout
},
showBubbleTimeline () {
return this.$store.state.instance.localBubbleInstances.length > 0
}
},
methods: {

View file

@ -55,7 +55,7 @@
/>
</router-link>
<router-link
v-if="currentUser"
v-if="currentUser && showBubbleTimeline"
:to="{ name: 'bubble-timeline' }"
class="nav-icon"
>