Removed beers from output (#3702)
This commit is contained in:
parent
da590cfcfe
commit
34d795b1f6
1 changed files with 3 additions and 2 deletions
|
@ -23,7 +23,7 @@ import { useAlerts } from "../../components/alert/Alerts";
|
||||||
import { HelpItem } from "../../components/help-enabler/HelpItem";
|
import { HelpItem } from "../../components/help-enabler/HelpItem";
|
||||||
import { DynamicComponents } from "../../components/dynamic/DynamicComponents";
|
import { DynamicComponents } from "../../components/dynamic/DynamicComponents";
|
||||||
import { KeycloakTextInput } from "../../components/keycloak-text-input/KeycloakTextInput";
|
import { KeycloakTextInput } from "../../components/keycloak-text-input/KeycloakTextInput";
|
||||||
import { convertToFormValues } from "../../util";
|
import { convertFormValuesToObject, convertToFormValues } from "../../util";
|
||||||
|
|
||||||
type ExecutionConfigModalForm = {
|
type ExecutionConfigModalForm = {
|
||||||
alias: string;
|
alias: string;
|
||||||
|
@ -83,7 +83,8 @@ export const ExecutionConfigModal = ({
|
||||||
if (config) setupForm(config);
|
if (config) setupForm(config);
|
||||||
}, [config]);
|
}, [config]);
|
||||||
|
|
||||||
const save = async (changedConfig: ExecutionConfigModalForm) => {
|
const save = async (saved: ExecutionConfigModalForm) => {
|
||||||
|
const changedConfig = convertFormValuesToObject(saved);
|
||||||
try {
|
try {
|
||||||
if (config) {
|
if (config) {
|
||||||
const newConfig = {
|
const newConfig = {
|
||||||
|
|
Loading…
Reference in a new issue