From 85753afdf038322c5605555bf9e4e3b475e3d567 Mon Sep 17 00:00:00 2001 From: Sarah Zinger Date: Thu, 17 Feb 2022 12:53:42 -0500 Subject: [PATCH] Cloudwatch: Fix bug with onblur in Metric Search (#45488) --- .../cloudwatch/components/MathExpressionQueryField.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/public/app/plugins/datasource/cloudwatch/components/MathExpressionQueryField.tsx b/public/app/plugins/datasource/cloudwatch/components/MathExpressionQueryField.tsx index aa960f9769b..b8a42a2837d 100644 --- a/public/app/plugins/datasource/cloudwatch/components/MathExpressionQueryField.tsx +++ b/public/app/plugins/datasource/cloudwatch/components/MathExpressionQueryField.tsx @@ -72,6 +72,7 @@ export function MathExpressionQueryField({ onBlur={(value) => { if (value !== query) { onChange(value); + onRunQuery(); } }} onBeforeEditorMount={(monaco: Monaco) =>