From 9503829e1864518a4d9867b4792043cf028e939d Mon Sep 17 00:00:00 2001 From: Max Kotlan Date: Mon, 13 Dec 2021 16:43:43 -0500 Subject: [PATCH] shouldRenderLargeMenu --- ui/component/sideNavigation/view.jsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/ui/component/sideNavigation/view.jsx b/ui/component/sideNavigation/view.jsx index cc6c01a90..19239c10c 100644 --- a/ui/component/sideNavigation/view.jsx +++ b/ui/component/sideNavigation/view.jsx @@ -239,13 +239,12 @@ function SideNavigation(props: Props) { } }, [hideMenuFromView]); - const shouldRenderLargeMenuPushorAbsolute = menuCanCloseCompletely || sidebarOpen; + const shouldRenderLargeMenu = menuCanCloseCompletely || sidebarOpen; const showMicroMenu = !sidebarOpen && !menuCanCloseCompletely; const showPushMenu = sidebarOpen && !menuCanCloseCompletely; - const showSubscriptionSection = - shouldRenderLargeMenuPushorAbsolute && isPersonalized && subscriptions && subscriptions.length > 0; + const showSubscriptionSection = shouldRenderLargeMenu && isPersonalized && subscriptions && subscriptions.length > 0; const showTagSection = sidebarOpen && isPersonalized && followedTags && followedTags.length; let displayedSubscriptions = subscriptions; @@ -434,7 +433,7 @@ function SideNavigation(props: Props) {