mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
PublicDashboards: hide topnav (#56873)
This commit is contained in:
@@ -20,7 +20,7 @@ export function AppChrome({ children }: Props) {
|
||||
const { chrome } = useGrafana();
|
||||
const state = chrome.useState();
|
||||
|
||||
if (!config.featureToggles.topnav) {
|
||||
if (!config.featureToggles.topnav || config.isPublicDashboardView) {
|
||||
return <main className="main-view">{children}</main>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user