fix(sql-lab): do not replace undefined schema with empty object (#19664)

This commit is contained in:
Ville Brofeldt
2022-04-12 15:13:03 +03:00
committed by GitHub
parent 3a231f6b87
commit 87d47987b7
2 changed files with 2 additions and 2 deletions

View File

@@ -791,7 +791,7 @@ export function queryEditorSetSchema(queryEditor, schema) {
dispatch({
type: QUERY_EDITOR_SET_SCHEMA,
queryEditor: queryEditor || {},
schema: schema || {},
schema,
}),
)
.catch(() =>