Add checks for currentUser on sidebar

This commit is contained in:
FloatingGhost 2023-03-16 16:41:37 +00:00
parent 9f7f9e2798
commit 7361f4e77e
3 changed files with 10 additions and 3 deletions

View file

@ -18,6 +18,7 @@
<router-link
:to="{ name: 'public-timeline' }"
class="nav-icon"
v-if="currentUser || (publicTimelineVisibility?.local ?? true)"
>
<FAIcon
fixed-width
@ -41,6 +42,7 @@
<router-link
:to="{ name: 'public-external-timeline' }"
class="nav-icon"
v-if="currentUser || (publicTimelineVisibility?.federated ?? true)"
>
<FAIcon
fixed-width