Transforms: Allow for clearing of select fields for outer join and grouping to matrix transformations (#53916)

pull/53922/head
Alex Karacaoglu 3 years ago committed by GitHub
parent a74681036e
commit 9be73e758d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      public/app/features/transformers/editors/GroupingToMatrixTransformerEditor.tsx
  2. 2
      public/app/features/transformers/editors/SeriesToFieldsTransformerEditor.tsx

@ -23,7 +23,7 @@ export const GroupingToMatrixTransformerEditor: React.FC<TransformerUIProps<Grou
(value: SelectableValue<string>) => {
onChange({
...options,
columnField: value.value,
columnField: value?.value,
});
},
[onChange, options]
@ -33,7 +33,7 @@ export const GroupingToMatrixTransformerEditor: React.FC<TransformerUIProps<Grou
(value: SelectableValue<string>) => {
onChange({
...options,
rowField: value.value,
rowField: value?.value,
});
},
[onChange, options]
@ -43,7 +43,7 @@ export const GroupingToMatrixTransformerEditor: React.FC<TransformerUIProps<Grou
(value: SelectableValue<string>) => {
onChange({
...options,
valueField: value.value,
valueField: value?.value,
});
},
[onChange, options]

@ -23,7 +23,7 @@ export const SeriesToFieldsTransformerEditor: React.FC<TransformerUIProps<Series
(value: SelectableValue<string>) => {
onChange({
...options,
byField: value.value,
byField: value?.value,
});
},
[onChange, options]

Loading…
Cancel
Save