Skip to content

Commit 63ad8d8

Browse files
committed
Merge branch 'remove-logs-explorer' of https://github.com/thomheymann/kibana into remove-logs-explorer
2 parents 4e40502 + 894cfbe commit 63ad8d8

1 file changed

Lines changed: 45 additions & 45 deletions

File tree

  • x-pack/solutions/observability/plugins/infra/public

x-pack/solutions/observability/plugins/infra/public/plugin.ts

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -141,45 +141,45 @@ export class Plugin implements InfraClientPluginClass {
141141
return [
142142
...(logs.show
143143
? [
144-
{
145-
label: logsTitle,
146-
sortKey: 200,
147-
entries: getLogsNavigationEntries({
148-
isLogsExplorerAccessible,
149-
config: this.config,
150-
routes: logRoutes,
151-
}),
152-
},
153-
]
144+
{
145+
label: logsTitle,
146+
sortKey: 200,
147+
entries: getLogsNavigationEntries({
148+
isLogsExplorerAccessible,
149+
config: this.config,
150+
routes: logRoutes,
151+
}),
152+
},
153+
]
154154
: []),
155155
...(infrastructure.show
156156
? [
157-
{
158-
label: metricsTitle,
159-
sortKey: 300,
160-
entries: [
161-
{
162-
label: inventoryTitle,
163-
app: 'metrics',
164-
path: '/inventory',
165-
},
166-
...(this.config.featureFlags.metricsExplorerEnabled
167-
? [
168-
{
169-
label: metricsExplorerTitle,
170-
app: 'metrics',
171-
path: '/explorer',
172-
},
173-
]
174-
: []),
175-
{
176-
label: hostsTitle,
177-
app: 'metrics',
178-
path: '/hosts',
179-
},
180-
],
181-
},
182-
]
157+
{
158+
label: metricsTitle,
159+
sortKey: 300,
160+
entries: [
161+
{
162+
label: inventoryTitle,
163+
app: 'metrics',
164+
path: '/inventory',
165+
},
166+
...(this.config.featureFlags.metricsExplorerEnabled
167+
? [
168+
{
169+
label: metricsExplorerTitle,
170+
app: 'metrics',
171+
path: '/explorer',
172+
},
173+
]
174+
: []),
175+
{
176+
label: hostsTitle,
177+
app: 'metrics',
178+
path: '/hosts',
179+
},
180+
],
181+
},
182+
]
183183
: []),
184184
];
185185
})
@@ -252,14 +252,14 @@ export class Plugin implements InfraClientPluginClass {
252252
},
253253
...(metricsExplorerEnabled
254254
? [
255-
{
256-
id: 'metrics-explorer',
257-
title: i18n.translate('xpack.infra.homePage.metricsExplorerTabTitle', {
258-
defaultMessage: 'Metrics Explorer',
259-
}),
260-
path: '/explorer',
261-
},
262-
]
255+
{
256+
id: 'metrics-explorer',
257+
title: i18n.translate('xpack.infra.homePage.metricsExplorerTabTitle', {
258+
defaultMessage: 'Metrics Explorer',
259+
}),
260+
path: '/explorer',
261+
},
262+
]
263263
: []),
264264
{
265265
id: 'settings',
@@ -339,7 +339,7 @@ export class Plugin implements InfraClientPluginClass {
339339
return startContract;
340340
}
341341

342-
stop() { }
342+
stop() {}
343343
}
344344

345345
const getLogsNavigationEntries = ({

0 commit comments

Comments
 (0)