From 3e84f3e136ed9bfb32037104ac2b4d0442fd834e Mon Sep 17 00:00:00 2001 From: Grace Guo Date: Tue, 6 Oct 2020 11:51:10 -0700 Subject: [PATCH] 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 a4340854e86c1..420b73f8b815d 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 145c3262af5a4..0358161442e02 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';