mirror of https://github.com/apache/superset.git
fix(explore): clear custom label if removed (#12382)
This commit is contained in:
parent
6a3103ff49
commit
662b64960f
|
@ -62,7 +62,6 @@ export default class AdhocMetricEditPopoverTitle extends React.Component {
|
||||||
|
|
||||||
onInputBlur(e) {
|
onInputBlur(e) {
|
||||||
if (e.target.value === '') {
|
if (e.target.value === '') {
|
||||||
e.target.value = this.props.defaultLabel;
|
|
||||||
this.props.onChange(e);
|
this.props.onChange(e);
|
||||||
}
|
}
|
||||||
this.onBlur();
|
this.onBlur();
|
||||||
|
|
Loading…
Reference in New Issue