From e23ba32722d40930404b7e32012eb5ec3d875f44 Mon Sep 17 00:00:00 2001 From: jackyin Date: Sat, 28 Sep 2024 22:04:40 +0800 Subject: [PATCH] Transformations: Fix crash in Config from query results (#93427) --- .../grafana-ui/src/components/MatchersUI/FieldValueMatcher.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grafana-ui/src/components/MatchersUI/FieldValueMatcher.tsx b/packages/grafana-ui/src/components/MatchersUI/FieldValueMatcher.tsx index a2a97b3ef8e..3efd06c618e 100644 --- a/packages/grafana-ui/src/components/MatchersUI/FieldValueMatcher.tsx +++ b/packages/grafana-ui/src/components/MatchersUI/FieldValueMatcher.tsx @@ -62,7 +62,7 @@ export const FieldValueMatcherEditor = ({ options, onChange }: Props) => { ); const opts = options ?? {}; - const isBool = isBooleanReducer(options.reducer); + const isBool = isBooleanReducer(opts.reducer); return (