Add checks for currentUser on sidebar
This commit is contained in:
parent
9f7f9e2798
commit
7361f4e77e
3 changed files with 10 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue