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 villebro committed Oct 22, 2020
1 parent 6b17b6d commit 3e84f3e
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 3e84f3e

Please sign in to comment.