From aece5a4eeaf3aafefeaf649cebc76d3dacf45506 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Sun, 9 Apr 2023 19:41:39 +0100 Subject: [PATCH] Show hide auth elements change --- src/components/Authenticator/authenticator.ts | 2 +- src/components/Navigation/Navigation.astro | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/Authenticator/authenticator.ts b/src/components/Authenticator/authenticator.ts index 072f77ddc..db7cca139 100644 --- a/src/components/Authenticator/authenticator.ts +++ b/src/components/Authenticator/authenticator.ts @@ -33,8 +33,8 @@ function handleGuest() { * Prepares the UI for the user who is logged out */ function handleAuthenticated() { - showHideAuthElements('show'); showHideGuestElements('hide'); + showHideAuthElements('show'); } function handleAuthRequired() { diff --git a/src/components/Navigation/Navigation.astro b/src/components/Navigation/Navigation.astro index c03219c1d..c9e03ca26 100644 --- a/src/components/Navigation/Navigation.astro +++ b/src/components/Navigation/Navigation.astro @@ -26,6 +26,8 @@ import AccountDropdown from './AccountDropdown.astro';
  • Videos
  • + +