You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2020/10/28 08:31:02 UTC
[incubator-superset] 08/08: fix: Fix Time Column dropdown for date
filter (#11149)
This is an automated email from the ASF dual-hosted git repository.
villebro pushed a commit to branch 0.38
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
commit c917e7d102ec38ab225d67aea0c5e719298bef62
Author: Grace Guo <gr...@airbnb.com>
AuthorDate: Tue Oct 6 11:51:10 2020 -0700
fix: Fix Time Column dropdown for date filter (#11149)
---
superset-frontend/spec/javascripts/explore/fixtures.jsx | 3 ++-
superset-frontend/src/explore/controls.jsx | 3 +--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/superset-frontend/spec/javascripts/explore/fixtures.jsx b/superset-frontend/spec/javascripts/explore/fixtures.jsx
index a434085..420b73f 100644
--- a/superset-frontend/spec/javascripts/explore/fixtures.jsx
+++ b/superset-frontend/spec/javascripts/explore/fixtures.jsx
@@ -18,7 +18,8 @@
*/
import React from 'react';
-import { ColumnOption, t } from '@superset-ui/core';
+import { t } from '@superset-ui/core';
+import { ColumnOption } from '@superset-ui/chart-controls';
export const controlPanelSectionsChartOptions = [
{
diff --git a/superset-frontend/src/explore/controls.jsx b/superset-frontend/src/explore/controls.jsx
index 145c326..0358161 100644
--- a/superset-frontend/src/explore/controls.jsx
+++ b/superset-frontend/src/explore/controls.jsx
@@ -63,9 +63,8 @@ import {
getSequentialSchemeRegistry,
legacyValidateInteger,
validateNonEmpty,
- ColumnOption,
} from '@superset-ui/core';
-
+import { ColumnOption } from '@superset-ui/chart-controls';
import { formatSelectOptions, mainMetric } from 'src/modules/utils';
import { TIME_FILTER_LABELS } from './constants';