mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
fix(sql-lab): do not replace undefined schema with empty object (#19664)
This commit is contained in:
@@ -791,7 +791,7 @@ export function queryEditorSetSchema(queryEditor, schema) {
|
||||
dispatch({
|
||||
type: QUERY_EDITOR_SET_SCHEMA,
|
||||
queryEditor: queryEditor || {},
|
||||
schema: schema || {},
|
||||
schema,
|
||||
}),
|
||||
)
|
||||
.catch(() =>
|
||||
|
||||
Reference in New Issue
Block a user