diff --git a/public/app/features/dashboard/containers/DashboardPage.tsx b/public/app/features/dashboard/containers/DashboardPage.tsx index 0935e07d25e..da6e4507253 100644 --- a/public/app/features/dashboard/containers/DashboardPage.tsx +++ b/public/app/features/dashboard/containers/DashboardPage.tsx @@ -433,8 +433,8 @@ function updateStatePageNavFromProps(props: Props, state: State): State { } // Check if folder changed - const { folderTitle } = dashboard.meta; - if (folderTitle && pageNav && pageNav.parentItem?.text !== folderTitle) { + const { folderTitle, folderUid } = dashboard.meta; + if (folderTitle && folderUid && pageNav && pageNav.parentItem?.text !== folderTitle) { pageNav = { ...pageNav, parentItem: {