mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 08:05:43 -06:00
don't add folder breadcrumb if there is no folderUid (#55739)
This commit is contained in:
parent
d8b4f776aa
commit
1a830e6f45
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user