fix(explore): clear custom label if removed (#12382)

This commit is contained in:
Ville Brofeldt
2021-01-09 11:41:41 +02:00
committed by GitHub
parent 6a3103ff49
commit 662b64960f

View File

@@ -62,7 +62,6 @@ export default class AdhocMetricEditPopoverTitle extends React.Component {
onInputBlur(e) {
if (e.target.value === '') {
e.target.value = this.props.defaultLabel;
this.props.onChange(e);
}
this.onBlur();