diff --git a/x-pack/plugins/infra/public/plugin.ts b/x-pack/plugins/infra/public/plugin.ts index 8797fabb01739..c14a13d1a7ea1 100644 --- a/x-pack/plugins/infra/public/plugin.ts +++ b/x-pack/plugins/infra/public/plugin.ts @@ -185,6 +185,7 @@ export class Plugin implements InfraClientPluginClass { }, }); + // !! Need to be kept in sync with the routes in x-pack/plugins/infra/public/pages/metrics/index.tsx const infraDeepLinks = [ { id: 'inventory', @@ -225,7 +226,6 @@ export class Plugin implements InfraClientPluginClass { appRoute: '/app/metrics', category: DEFAULT_APP_CATEGORIES.observability, updater$: this.appUpdater$, - // !! Need to be kept in sync with the routes in x-pack/plugins/infra/public/pages/metrics/index.tsx deepLinks: core.uiSettings.get(enableInfrastructureHostsView) ? [hostInfraDeepLink, ...infraDeepLinks] : infraDeepLinks,