Skip to content

Commit

Permalink
fix: Fix Time Column dropdown for date filter (apache#11149)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grace Guo authored and auxten committed Nov 20, 2020
1 parent dceca1d commit 959b740
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion superset-frontend/spec/javascripts/explore/fixtures.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
{
Expand Down
3 changes: 1 addition & 2 deletions superset-frontend/src/explore/controls.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit 959b740

Please sign in to comment.