Commit c98c5c3c by Ryan McKinley Committed by GitHub

SingleStat2: save options to defaults not override (#18666)

parent 6c34936a
......@@ -49,7 +49,7 @@ export class SingleStatEditor extends PureComponent<PanelEditorProps<SingleStatO
onDefaultsChange = (field: FieldConfig) => {
this.onDisplayOptionsChanged({
...this.props.options.fieldOptions,
override: field,
defaults: field,
});
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment