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 {
|
try {
|
||||||
if (config) {
|
if (config) {
|
||||||
const newConfig = {
|
const newConfig = {
|
||||||
...config,
|
id: config.id,
|
||||||
|
alias: config.alias,
|
||||||
config: changedConfig.config,
|
config: changedConfig.config,
|
||||||
};
|
};
|
||||||
await adminClient.authenticationManagement.updateConfig(newConfig);
|
await adminClient.authenticationManagement.updateConfig(newConfig);
|
||||||
setConfig({ ...newConfig.config });
|
setConfig({ ...newConfig });
|
||||||
} else {
|
} else {
|
||||||
const newConfig = {
|
const newConfig = {
|
||||||
id: execution.id!,
|
id: execution.id!,
|
||||||
|
|
Loading…
Reference in a new issue