From 34d795b1f6a0681704df01376afc8e4d6ee63e33 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Thu, 3 Nov 2022 12:24:24 +0100 Subject: [PATCH] Removed beers from output (#3702) --- .../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 9c335523f6..0586b3a921 100644 --- a/apps/admin-ui/src/authentication/components/ExecutionConfigModal.tsx +++ b/apps/admin-ui/src/authentication/components/ExecutionConfigModal.tsx @@ -23,7 +23,7 @@ import { useAlerts } from "../../components/alert/Alerts"; import { HelpItem } from "../../components/help-enabler/HelpItem"; import { DynamicComponents } from "../../components/dynamic/DynamicComponents"; import { KeycloakTextInput } from "../../components/keycloak-text-input/KeycloakTextInput"; -import { convertToFormValues } from "../../util"; +import { convertFormValuesToObject, convertToFormValues } from "../../util"; type ExecutionConfigModalForm = { alias: string; @@ -83,7 +83,8 @@ export const ExecutionConfigModal = ({ if (config) setupForm(config); }, [config]); - const save = async (changedConfig: ExecutionConfigModalForm) => { + const save = async (saved: ExecutionConfigModalForm) => { + const changedConfig = convertFormValuesToObject(saved); try { if (config) { const newConfig = {