Fixed merging the config (#3783)
This commit is contained in:
parent
3da00919b7
commit
b5698be23c
1 changed files with 3 additions and 2 deletions
|
@ -88,11 +88,12 @@ export const ExecutionConfigModal = ({
|
|||
try {
|
||||
if (config) {
|
||||
const newConfig = {
|
||||
...config,
|
||||
id: config.id,
|
||||
alias: config.alias,
|
||||
config: changedConfig.config,
|
||||
};
|
||||
await adminClient.authenticationManagement.updateConfig(newConfig);
|
||||
setConfig({ ...newConfig.config });
|
||||
setConfig({ ...newConfig });
|
||||
} else {
|
||||
const newConfig = {
|
||||
id: execution.id!,
|
||||
|
|
Loading…
Reference in a new issue