mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
don't add folder breadcrumb if there is no folderUid (#55739)
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user