diff --git a/superset-frontend/spec/javascripts/explore/AdhocFilter_spec.js b/superset-frontend/spec/javascripts/explore/AdhocFilter_spec.js index a559bd7099018..dd4818128e363 100644 --- a/superset-frontend/spec/javascripts/explore/AdhocFilter_spec.js +++ b/superset-frontend/spec/javascripts/explore/AdhocFilter_spec.js @@ -40,6 +40,7 @@ describe('AdhocFilter', () => { filterOptionName: adhocFilter.filterOptionName, sqlExpression: null, fromFormData: false, + isExtra: false, }); }); diff --git a/superset-frontend/src/explore/components/AdhocFilterOption.jsx b/superset-frontend/src/explore/components/AdhocFilterOption.jsx index aef295875ffca..10979c24ffad1 100644 --- a/superset-frontend/src/explore/components/AdhocFilterOption.jsx +++ b/superset-frontend/src/explore/components/AdhocFilterOption.jsx @@ -19,13 +19,13 @@ import React from 'react'; import PropTypes from 'prop-types'; import { Label, OverlayTrigger } from 'react-bootstrap'; +import { t } from '@superset-ui/translation'; import AdhocFilterEditPopover from './AdhocFilterEditPopover'; import AdhocFilter from '../AdhocFilter'; import columnType from '../propTypes/columnType'; import adhocMetricType from '../propTypes/adhocMetricType'; import InfoTooltipWithTrigger from '../../components/InfoTooltipWithTrigger'; -import { t } from '@superset-ui/translation'; const propTypes = { adhocFilter: PropTypes.instanceOf(AdhocFilter).isRequired, @@ -95,7 +95,7 @@ export default class AdhocFilterOption extends React.PureComponent { onExited={this.onOverlayExited} >