mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
fix: DB add modal (#15981)
This commit is contained in:
@@ -557,7 +557,7 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
|
||||
}
|
||||
}
|
||||
|
||||
if (dbToUpdate.parameters.catalog) {
|
||||
if (dbToUpdate?.parameters?.catalog) {
|
||||
// need to stringify gsheets catalog to allow it to be seralized
|
||||
dbToUpdate.extra_json = {
|
||||
engine_params: JSON.stringify({
|
||||
|
||||
Reference in New Issue
Block a user