From b5698be23c3e9d164e2701a8ee4adafd297f1118 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Thu, 17 Nov 2022 11:14:20 -0500 Subject: [PATCH] Fixed merging the config (#3783) --- .../src/authentication/components/ExecutionConfigModal.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/admin-ui/src/authentication/components/ExecutionConfigModal.tsx b/apps/admin-ui/src/authentication/components/ExecutionConfigModal.tsx index 0586b3a921..a9f7b4dc6e 100644 --- a/apps/admin-ui/src/authentication/components/ExecutionConfigModal.tsx +++ b/apps/admin-ui/src/authentication/components/ExecutionConfigModal.tsx @@ -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!,