From 22b5e574b1791230202ee26ed364b37b661fa401 Mon Sep 17 00:00:00 2001 From: Ezequiel Victorero Date: Tue, 18 Oct 2022 19:51:09 -0300 Subject: [PATCH] PublicDashboards: hide topnav (#56873) --- public/app/core/components/AppChrome/AppChrome.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/core/components/AppChrome/AppChrome.tsx b/public/app/core/components/AppChrome/AppChrome.tsx index aefa8d54f21..8acdcfce572 100644 --- a/public/app/core/components/AppChrome/AppChrome.tsx +++ b/public/app/core/components/AppChrome/AppChrome.tsx @@ -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
{children}
; }