mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
SingleStat2: save options to defaults not override (#18666)
This commit is contained in:
parent
6c34936aee
commit
c98c5c3c8e
@ -49,7 +49,7 @@ export class SingleStatEditor extends PureComponent<PanelEditorProps<SingleStatO
|
|||||||
onDefaultsChange = (field: FieldConfig) => {
|
onDefaultsChange = (field: FieldConfig) => {
|
||||||
this.onDisplayOptionsChanged({
|
this.onDisplayOptionsChanged({
|
||||||
...this.props.options.fieldOptions,
|
...this.props.options.fieldOptions,
|
||||||
override: field,
|
defaults: field,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user