mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
fix: save DB with with query (#15991)
This commit is contained in:
@@ -525,7 +525,7 @@ const DatabaseModal: FunctionComponent<DatabaseModalProps> = ({
|
||||
);
|
||||
} else if (
|
||||
dbToUpdate?.parameters?.query === '' &&
|
||||
'query' in dbModel.parameters
|
||||
'query' in dbModel.parameters.properties
|
||||
) {
|
||||
dbToUpdate.parameters.query = {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user