kibana/x-pack/plugins/monitoring/public/register_feature.js
Nathan Reese ce3b69fbe9
remove application icon assets in kibana that ship with EUI (#18570)
* remove assets in kibana that ship with EUI

* update home page tests

* replace logstash pipeline svg with EUI icon type
2018-05-07 10:59:39 -06:00

24 lines
789 B
JavaScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
import chrome from 'ui/chrome';
import { FeatureCatalogueRegistryProvider, FeatureCatalogueCategory } from 'ui/registry/feature_catalogue';
if (chrome.getInjected('monitoringUiEnabled')) {
FeatureCatalogueRegistryProvider.register(() => {
return {
id: 'monitoring',
title: 'Monitoring',
description: 'Track the real-time health and performance of your Elastic Stack.',
icon: 'monitoringApp',
path: '/app/monitoring',
showOnHomePage: true,
category: FeatureCatalogueCategory.ADMIN
};
});
}