Skip to content

Commit

Permalink
fix(explore): time table control panel (#12532)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmud authored Jan 15, 2021
1 parent 3f3a2ad commit 41b7eb3
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions superset-frontend/src/explore/controlPanels/TimeTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
* under the License.
*/
import { t, validateNonEmpty } from '@superset-ui/core';
import { sections } from '@superset-ui/chart-controls';

export default {
controlPanelSections: [
sections.legacyTimeseriesTime,
{
label: t('Query'),
expanded: true,
Expand Down Expand Up @@ -61,12 +63,4 @@ export default {
multiple: false,
},
},
sectionOverrides: {
druidTimeSeries: {
controlSetRows: [['granularity', 'druid_time_origin'], ['time_range']],
},
sqlaTimeSeries: {
controlSetRows: [['granularity_sqla', 'time_grain_sqla'], ['time_range']],
},
},
};

0 comments on commit 41b7eb3

Please sign in to comment.