mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Transforms: Allow for clearing of select fields for outer join and grouping to matrix transformations (#53916)
This commit is contained in:
parent
a74681036e
commit
9be73e758d
@ -23,7 +23,7 @@ export const GroupingToMatrixTransformerEditor: React.FC<TransformerUIProps<Grou
|
|||||||
(value: SelectableValue<string>) => {
|
(value: SelectableValue<string>) => {
|
||||||
onChange({
|
onChange({
|
||||||
...options,
|
...options,
|
||||||
columnField: value.value,
|
columnField: value?.value,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
[onChange, options]
|
[onChange, options]
|
||||||
@ -33,7 +33,7 @@ export const GroupingToMatrixTransformerEditor: React.FC<TransformerUIProps<Grou
|
|||||||
(value: SelectableValue<string>) => {
|
(value: SelectableValue<string>) => {
|
||||||
onChange({
|
onChange({
|
||||||
...options,
|
...options,
|
||||||
rowField: value.value,
|
rowField: value?.value,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
[onChange, options]
|
[onChange, options]
|
||||||
@ -43,7 +43,7 @@ export const GroupingToMatrixTransformerEditor: React.FC<TransformerUIProps<Grou
|
|||||||
(value: SelectableValue<string>) => {
|
(value: SelectableValue<string>) => {
|
||||||
onChange({
|
onChange({
|
||||||
...options,
|
...options,
|
||||||
valueField: value.value,
|
valueField: value?.value,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
[onChange, options]
|
[onChange, options]
|
||||||
|
@ -23,7 +23,7 @@ export const SeriesToFieldsTransformerEditor: React.FC<TransformerUIProps<Series
|
|||||||
(value: SelectableValue<string>) => {
|
(value: SelectableValue<string>) => {
|
||||||
onChange({
|
onChange({
|
||||||
...options,
|
...options,
|
||||||
byField: value.value,
|
byField: value?.value,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
[onChange, options]
|
[onChange, options]
|
||||||
|
Loading…
Reference in New Issue
Block a user