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

This commit is contained in:
Ryan McKinley 2019-08-21 13:24:21 -07:00 committed by GitHub
parent 6c34936aee
commit c98c5c3c8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ export class SingleStatEditor extends PureComponent<PanelEditorProps<SingleStatO
onDefaultsChange = (field: FieldConfig) => {
this.onDisplayOptionsChanged({
...this.props.options.fieldOptions,
override: field,
defaults: field,
});
};