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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

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();