From f4c9ed05fe0eacb37a10cd45fb0040fc7afb12d5 Mon Sep 17 00:00:00 2001 From: Melissa Date: Tue, 22 Oct 2024 17:42:09 -0600 Subject: [PATCH] add basic exists check for switch --- .../components/forecasting_modal/run_controls.js | 4 ++-- .../apps/ml/anomaly_detection_result_views/forecasts.ts | 1 + x-pack/test/functional/services/ml/forecast.ts | 5 +++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/run_controls.js b/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/run_controls.js index 5473b0f16343e..bc77a3d5fa38d 100644 --- a/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/run_controls.js +++ b/x-pack/plugins/ml/public/application/timeseriesexplorer/components/forecasting_modal/run_controls.js @@ -173,12 +173,12 @@ export function RunControls({ helpText={i18n.translate( 'xpack.ml.timeSeriesExplorer.runControls.neverExpireHelpText', { - defaultMessage: - 'When selected, forecast results will be retained indefinitely. If disabled, forecasts will be retained for 14 days.', + defaultMessage: 'If disabled, forecasts will be retained for 14 days.', } )} > mlModalForecastButtonRun');