[Logs UI] Use the correct icons and labels in the feature cont… (#55292)

This fixes logs and metrics icons as well as the metrics label in the feature control lists which were missed during the renaming.

fixes #55283
This commit is contained in:
Felix Stürmer 2020-01-21 19:42:22 +01:00 committed by GitHub
parent 16b5fd7e04
commit 85edc66125
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,9 +9,9 @@ import { i18n } from '@kbn/i18n';
export const METRICS_FEATURE = { export const METRICS_FEATURE = {
id: 'infrastructure', id: 'infrastructure',
name: i18n.translate('xpack.infra.featureRegistry.linkInfrastructureTitle', { name: i18n.translate('xpack.infra.featureRegistry.linkInfrastructureTitle', {
defaultMessage: 'Infrastructure', defaultMessage: 'Metrics',
}), }),
icon: 'infraApp', icon: 'metricsApp',
navLinkId: 'infra:home', navLinkId: 'infra:home',
app: ['infra', 'kibana'], app: ['infra', 'kibana'],
catalogue: ['infraops'], catalogue: ['infraops'],
@ -40,7 +40,7 @@ export const LOGS_FEATURE = {
name: i18n.translate('xpack.infra.featureRegistry.linkLogsTitle', { name: i18n.translate('xpack.infra.featureRegistry.linkLogsTitle', {
defaultMessage: 'Logs', defaultMessage: 'Logs',
}), }),
icon: 'loggingApp', icon: 'logsApp',
navLinkId: 'infra:logs', navLinkId: 'infra:logs',
app: ['infra', 'kibana'], app: ['infra', 'kibana'],
catalogue: ['infralogging'], catalogue: ['infralogging'],