Transformations: Show filter for single query (#94238)

pull/94297/head
Drew Slobodnjak 10 months ago committed by GitHub
parent 099055e8a5
commit 4ec75bcc60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      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) => {

Loading…
Cancel
Save