Don't show timeline links if disabled and logged out

This commit is contained in:
Sol Fisher Romanoff 2022-12-10 21:17:41 +02:00
parent 9bf310d509
commit 6e1ba218df
No known key found for this signature in database
GPG key ID: 9D3F2B64F2341B62
4 changed files with 10 additions and 3 deletions

View file

@ -44,6 +44,7 @@
/>
</router-link>
<router-link
v-if="currentUser || !(privateMode || restrictedTimelines.public)"
:to="{ name: 'public-timeline' }"
class="nav-icon"
>
@ -67,6 +68,7 @@
/>
</router-link>
<router-link
v-if="federating && (currentUser || !(privateMode || restrictedTimelines.federated))"
:to="{ name: 'public-external-timeline' }"
class="nav-icon"
>