From caab6309dfb7592f50e51c6aae8d2266c19d8098 Mon Sep 17 00:00:00 2001 From: Ivan Silvestre Date: Tue, 30 May 2023 13:54:23 +0100 Subject: Desktop: hide the left panel and the invite codes from the main page if you are not logged in --- src/view/shell/desktop/RightNav.tsx | 3 ++- src/view/shell/index.web.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/view/shell/desktop/RightNav.tsx b/src/view/shell/desktop/RightNav.tsx index 4fae64fef..462627c41 100644 --- a/src/view/shell/desktop/RightNav.tsx +++ b/src/view/shell/desktop/RightNav.tsx @@ -59,7 +59,7 @@ export const DesktopRightNav = observer(function DesktopRightNav() { /> - + {store.session.hasSession && } { {isDesktop && ( <> - + {store.session.hasSession && } )} -- cgit 1.4.1 From e77c6169706640ea95129d8ee26bb022af419374 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 30 May 2023 13:53:33 -0500 Subject: Hide both the left and right nav on desktop when logged out --- src/view/shell/desktop/RightNav.tsx | 2 +- src/view/shell/index.web.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/view/shell/desktop/RightNav.tsx b/src/view/shell/desktop/RightNav.tsx index 462627c41..02165d3c6 100644 --- a/src/view/shell/desktop/RightNav.tsx +++ b/src/view/shell/desktop/RightNav.tsx @@ -59,7 +59,7 @@ export const DesktopRightNav = observer(function DesktopRightNav() { /> - {store.session.hasSession && } + { - {isDesktop && ( + {isDesktop && store.session.hasSession && ( <> - {store.session.hasSession && } + )} -- cgit 1.4.1