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

This commit is contained in:
Alex Karacaoglu
2022-08-18 17:19:59 -04:00
committed by GitHub
parent a74681036e
commit 9be73e758d
2 changed files with 4 additions and 4 deletions

View File

@@ -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]

View File

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