Removed beers from output (#3702)

This commit is contained in:
Erik Jan de Wit 2022-11-03 12:24:24 +01:00 committed by GitHub
parent da590cfcfe
commit 34d795b1f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = {