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

This commit is contained in:
Ryan McKinley authored and GitHub committed 2019-08-21 13:24:21 -07:00
1 parent 6c34936aee
commit c98c5c3c8e
1 file changed
+1 -1
@@ -49,7 +49,7 @@ export class SingleStatEditor extends PureComponent<PanelEditorProps<SingleStatO
onDefaultsChange = (field: FieldConfig) => {
this.onDisplayOptionsChanged({
...this.props.options.fieldOptions,
override: field,
defaults: field,
});
};