From f13f2e2ed3f1e17b51afbf2b1a2756d81fca3de3 Mon Sep 17 00:00:00 2001 From: Junlin Chen Date: Sat, 9 Jan 2021 19:40:28 -0800 Subject: [PATCH] =?UTF-8?q?chore:=20Fix=20typo=20=E2=80=9CRest=E2=80=9D=20?= =?UTF-8?q?to=20=E2=80=9CReset=E2=80=9D=20(#12392)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/explore/components/AdhocMetricEditPopover.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/superset-frontend/src/explore/components/AdhocMetricEditPopover.jsx b/superset-frontend/src/explore/components/AdhocMetricEditPopover.jsx index 446d6e3943..fe6b0194fc 100644 --- a/superset-frontend/src/explore/components/AdhocMetricEditPopover.jsx +++ b/superset-frontend/src/explore/components/AdhocMetricEditPopover.jsx @@ -67,7 +67,7 @@ export default class AdhocMetricEditPopover extends React.Component { constructor(props) { super(props); this.onSave = this.onSave.bind(this); - this.onRestStateAndClose = this.onRestStateAndClose.bind(this); + this.onResetStateAndClose = this.onResetStateAndClose.bind(this); this.onColumnChange = this.onColumnChange.bind(this); this.onAggregateChange = this.onAggregateChange.bind(this); this.onSavedMetricChange = this.onSavedMetricChange.bind(this); @@ -118,7 +118,7 @@ export default class AdhocMetricEditPopover extends React.Component { this.props.onClose(); } - onRestStateAndClose() { + onResetStateAndClose() { this.setState( { adhocMetric: this.props.adhocMetric, @@ -401,7 +401,7 @@ export default class AdhocMetricEditPopover extends React.Component {