We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5da6ba2 commit 7e3732eCopy full SHA for 7e3732e
src/plugins/explore/public/application/utils/hooks/use_page_initialization.ts
@@ -57,7 +57,13 @@ export const useInitPage = () => {
57
// If user came from a dashboard, show dashboard name as a breadcrumb
58
if (previousPage && previousPage.meta?.type === 'dashboard') {
59
breadcrumbs.push({
60
- text: `Dashboard:${previousPage.label}`,
+ text: 'Dashboard',
61
+ onClick: () => {
62
+ services.core.application.navigateToApp('dashboards', { path: '#/' });
63
+ },
64
+ });
65
+ breadcrumbs.push({
66
+ text: `${previousPage.label}`,
67
...breadcrumbConfig,
68
});
69
}
0 commit comments