mirror of
https://github.com/apache/superset.git
synced 2026-04-23 18:14:56 +00:00
chore: Removes src/modules top folder (#25005)
This commit is contained in:
committed by
GitHub
parent
bc1c5c2f84
commit
2eb0a255d9
@@ -35,8 +35,6 @@ import {
|
||||
getQuerySettings,
|
||||
getChartDataUri,
|
||||
} from 'src/explore/exploreUtils';
|
||||
import { requiresQuery } from 'src/modules/AnnotationTypes';
|
||||
|
||||
import { addDangerToast } from 'src/components/MessageToasts/actions';
|
||||
import { logEvent } from 'src/logger/actions';
|
||||
import { Logger, LOG_ACTIONS_LOAD_CHART } from 'src/logger/LogUtils';
|
||||
@@ -268,7 +266,7 @@ export function runAnnotationQuery({
|
||||
...(formData || getState().charts[sliceKey].latestQueryFormData),
|
||||
};
|
||||
|
||||
if (!requiresQuery(annotation.sourceType)) {
|
||||
if (!annotation.sourceType) {
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user