From 0f4cdcda483c85a63c6f34514dab14ea9b6f5a54 Mon Sep 17 00:00:00 2001 From: FloatingGhost Date: Thu, 16 Mar 2023 16:41:37 +0000 Subject: [PATCH] Add checks for currentUser on sidebar --- src/components/timeline_menu/timeline_menu_content.vue | 4 ++-- src/components/timeline_menu_tabs/timeline_menu_tabs.js | 7 ++++++- src/components/timeline_menu_tabs/timeline_menu_tabs.vue | 2 ++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/components/timeline_menu/timeline_menu_content.vue b/src/components/timeline_menu/timeline_menu_content.vue index 70af126c..0144f2fd 100644 --- a/src/components/timeline_menu/timeline_menu_content.vue +++ b/src/components/timeline_menu/timeline_menu_content.vue @@ -32,7 +32,7 @@ >{{ $t("nav.bubble_timeline") }} -
  • +
  • {{ $t("nav.public_tl") }}
  • -
  • +
  • state.users.currentUser, + publicTimelineVisibility: state => state.instance.publicTimelineVisibility, + }) }, methods: { timelineName () { diff --git a/src/components/timeline_menu_tabs/timeline_menu_tabs.vue b/src/components/timeline_menu_tabs/timeline_menu_tabs.vue index f017fa1f..e922ffcc 100644 --- a/src/components/timeline_menu_tabs/timeline_menu_tabs.vue +++ b/src/components/timeline_menu_tabs/timeline_menu_tabs.vue @@ -18,6 +18,7 @@