mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix: explore warnings cleanup (#20864)
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
*/
|
||||
import React from 'react';
|
||||
import {
|
||||
addLocaleData,
|
||||
ChartDataResponseResult,
|
||||
ensureIsArray,
|
||||
FeatureFlag,
|
||||
@@ -50,11 +49,8 @@ import {
|
||||
getStandardizedControls,
|
||||
} from '@superset-ui/chart-controls';
|
||||
|
||||
import i18n from './i18n';
|
||||
import { PAGE_SIZE_OPTIONS } from './consts';
|
||||
|
||||
addLocaleData(i18n);
|
||||
|
||||
function getQueryMode(controls: ControlStateMapping): QueryMode {
|
||||
const mode = controls?.query_mode?.value;
|
||||
if (mode === QueryMode.aggregate || mode === QueryMode.raw) {
|
||||
|
||||
Reference in New Issue
Block a user