Skip to content

Commit

Permalink
fix: DB add modal (#15981)
Browse files Browse the repository at this point in the history
  • Loading branch information
betodealmeida committed Jul 30, 2021
1 parent 2d61f15 commit f1b57c0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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({
Expand Down

0 comments on commit f1b57c0

Please sign in to comment.