Fix subs resolving on file page when sidenav closed
This commit is contained in:
parent
96e7fda26a
commit
7c3cbaca15
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ function SideNavigation(props: Props) {
|
||||||
}
|
}
|
||||||
}, [hideMenuFromView, menuInitialized]);
|
}, [hideMenuFromView, menuInitialized]);
|
||||||
|
|
||||||
const shouldRenderLargeMenu = menuCanCloseCompletely || sidebarOpen;
|
const shouldRenderLargeMenu = (menuCanCloseCompletely && !isAbsolute) || sidebarOpen;
|
||||||
|
|
||||||
const showMicroMenu = !sidebarOpen && !menuCanCloseCompletely;
|
const showMicroMenu = !sidebarOpen && !menuCanCloseCompletely;
|
||||||
const showPushMenu = sidebarOpen && !menuCanCloseCompletely;
|
const showPushMenu = sidebarOpen && !menuCanCloseCompletely;
|
||||||
|
|
Loading…
Reference in a new issue