mirror of
https://github.com/grafana/grafana.git
synced 2025-01-09 23:53:25 -06:00
Hide navbar behind ready check to prevent flicker of navbar on login (#47968)
This commit is contained in:
parent
52768d87c4
commit
b727c324b8
@ -95,7 +95,7 @@ export class AppWrapper extends React.Component<AppWrapperProps, AppWrapperState
|
||||
<GlobalStyles />
|
||||
<div className="grafana-app">
|
||||
<Router history={locationService.getHistory()}>
|
||||
{newNavigationEnabled ? <NavBarNext /> : <NavBar />}
|
||||
{ready && <>{newNavigationEnabled ? <NavBarNext /> : <NavBar />}</>}
|
||||
<main className="main-view">
|
||||
{pageBanners.map((Banner, index) => (
|
||||
<Banner key={index.toString()} />
|
||||
|
Loading…
Reference in New Issue
Block a user