mirror of
https://github.com/grafana/grafana.git
synced 2025-01-08 07:03:11 -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) => {
|
||||
this.onDisplayOptionsChanged({
|
||||
...this.props.options.fieldOptions,
|
||||
override: field,
|
||||
defaults: field,
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user