diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_with_tooltip.tsx b/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_with_tooltip.tsx index 73dfb0d5d120e..cdd9d6ffb5142 100644 --- a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_with_tooltip.tsx +++ b/x-pack/plugins/ml/public/application/timeseriesexplorer/components/timeseries_chart/timeseries_chart_with_tooltip.tsx @@ -43,9 +43,12 @@ export const TimeSeriesChartWithTooltips: FC = const showAnnotationErrorToastNotification = useCallback((error?: string) => { toastNotifications.addDanger({ - title: i18n.translate('xpack.ml.timeSeriesExplorer.annotationsErrorTitle', { - defaultMessage: 'An error occurred fetching annotations', - }), + title: i18n.translate( + 'xpack.ml.timeSeriesExplorer.mlSingleMetricViewerChart.annotationsErrorTitle', + { + defaultMessage: 'An error occurred fetching annotations', + } + ), ...(error ? { text: extractErrorMessage(error) } : {}), }); }, []);