mirror of
https://github.com/apache/superset.git
synced 2026-04-20 16:44:46 +00:00
additional params field fixed (#16161)
This commit is contained in:
committed by
GitHub
parent
606a7bf429
commit
3712ee02fa
@@ -344,16 +344,21 @@ function dbReducer(
|
||||
action.payload.configuration_method ===
|
||||
CONFIGURATION_METHOD.DYNAMIC_FORM
|
||||
) {
|
||||
// convert query into URI params string
|
||||
query = new URLSearchParams(
|
||||
action?.payload?.parameters?.query as string,
|
||||
).toString();
|
||||
|
||||
return {
|
||||
...action.payload,
|
||||
engine: action.payload.backend,
|
||||
configuration_method: action.payload.configuration_method,
|
||||
extra_json: deserializeExtraJSON,
|
||||
parameters: {
|
||||
query,
|
||||
credentials_info: JSON.stringify(
|
||||
action.payload?.parameters?.credentials_info || '',
|
||||
),
|
||||
query,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user