mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Changing the Anomaly detection icon on APM (#150541)
## Summary We use `alert` icon to communicate when Anomaly detection is not enabled. This conflicts with the usage of the icon for alerting. So in this small PR I'm swapping the icons with the `machineLearning` icon to make the visual connection stronger. The ML icon is also used in their app so things would make more sense that way. <img width="250" alt="image" src="https://user-images.githubusercontent.com/13353203/217507328-e5927f3c-d7cd-4671-88d1-ed4743470d77.png"> After / Before 
This commit is contained in:
parent
44d483a569
commit
d87733160c
1 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ export function AnomalyDetectionSetupLink() {
|
|||
defaultMessage: 'Could not determine state of anomaly detection setup.',
|
||||
}
|
||||
);
|
||||
icon = 'alert';
|
||||
icon = 'machineLearningApp';
|
||||
} else if (
|
||||
anomalyDetectionSetupState === AnomalyDetectionSetupState.NoJobs ||
|
||||
anomalyDetectionSetupState ===
|
||||
|
@ -54,7 +54,7 @@ export function AnomalyDetectionSetupLink() {
|
|||
) {
|
||||
color = 'warning';
|
||||
tooltipText = getNoJobsMessage(anomalyDetectionSetupState, environment);
|
||||
icon = 'alert';
|
||||
icon = 'machineLearningApp';
|
||||
} else if (
|
||||
anomalyDetectionSetupState === AnomalyDetectionSetupState.UpgradeableJobs
|
||||
) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue