mirror of
https://github.com/apache/superset.git
synced 2026-04-22 17:45:21 +00:00
only fetch db function when db exists in sql lab (#16754)
This commit is contained in:
committed by
GitHub
parent
f032cc254c
commit
d375538671
@@ -26,16 +26,10 @@ import CopyToClipboard from 'src/components/CopyToClipboard';
|
||||
import { storeQuery } from 'src/utils/common';
|
||||
import { getClientErrorObject } from 'src/utils/getClientErrorObject';
|
||||
import { FeatureFlag, isFeatureEnabled } from '../../featureFlags';
|
||||
import { QueryEditor } from '../types';
|
||||
|
||||
interface ShareSqlLabQueryPropTypes {
|
||||
queryEditor: {
|
||||
dbId: number;
|
||||
title: string;
|
||||
schema: string;
|
||||
autorun: boolean;
|
||||
sql: string;
|
||||
remoteId: number | null;
|
||||
};
|
||||
queryEditor: QueryEditor;
|
||||
addDangerToast: (msg: string) => void;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user