From 4ec75bcc6063bdf6491e7a27a678ac733c952302 Mon Sep 17 00:00:00 2001 From: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com> Date: Fri, 4 Oct 2024 14:17:46 -0700 Subject: [PATCH] Transformations: Show filter for single query (#94238) --- .../TransformationsEditor/TransformationOperationRow.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/dashboard/components/TransformationsEditor/TransformationOperationRow.tsx b/public/app/features/dashboard/components/TransformationsEditor/TransformationOperationRow.tsx index e34c93ab6d9..94b4964fc6a 100644 --- a/public/app/features/dashboard/components/TransformationsEditor/TransformationOperationRow.tsx +++ b/public/app/features/dashboard/components/TransformationsEditor/TransformationOperationRow.tsx @@ -45,7 +45,7 @@ export const TransformationOperationRow = ({ const disabled = !!configs[index].transformation.disabled; const topic = configs[index].transformation.topic; const showFilterEditor = configs[index].transformation.filter != null || topic != null; - const showFilterToggle = showFilterEditor || data.series.length > 1 || (data.annotations?.length ?? 0) > 0; + const showFilterToggle = showFilterEditor || data.series.length > 0 || (data.annotations?.length ?? 0) > 0; const onDisableToggle = useCallback( (index: number) => {