[Synthetics] Fix nav path (#148428)

Fixes https://github.com/elastic/kibana/issues/145433
This commit is contained in:
Shahzad 2023-01-09 13:56:17 +01:00 committed by GitHub
parent 4362b5c688
commit 5de62a95b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ export const useMonitorListBreadcrumbs = (extraCrumbs?: Array<{ text: string; hr
useBreadcrumbs([ useBreadcrumbs([
{ {
text: MONITOR_MANAGEMENT_CRUMB, text: MONITOR_MANAGEMENT_CRUMB,
href: `${appPath}/${MONITORS_ROUTE}`, href: `${appPath}${MONITORS_ROUTE}`,
}, },
...(extraCrumbs ?? []), ...(extraCrumbs ?? []),
]); ]);

View file

@ -273,7 +273,7 @@ function registerSyntheticsRoutesWithNavigation(
}), }),
app: 'synthetics', app: 'synthetics',
path: OVERVIEW_ROUTE, path: OVERVIEW_ROUTE,
matchFullPath: true, matchFullPath: false,
ignoreTrailingSlash: true, ignoreTrailingSlash: true,
}, },
], ],