mirror of
https://github.com/apache/superset.git
synced 2026-07-19 21:25:38 +00:00
chore(frontend): migrate SqlLab and explore JS/JSX files to TypeScript (#36760)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -344,9 +344,9 @@ export const SaveDatasetModal = ({
|
||||
dispatch(
|
||||
createDatasource({
|
||||
sql: datasource.sql,
|
||||
dbId: datasource.dbId || datasource?.database?.id,
|
||||
catalog: datasource?.catalog,
|
||||
schema: datasource?.schema,
|
||||
dbId: (datasource.dbId ?? datasource?.database?.id) as number,
|
||||
catalog: datasource?.catalog ?? null,
|
||||
schema: datasource?.schema ?? '',
|
||||
templateParams,
|
||||
datasourceName: datasetName,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user