mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-18 19:50:38 +09:00
Merge pull request #2651 from plind-dm/fix/clear-extra-args-config
fix(ui): use null instead of undefined when clearing extra args
This commit is contained in:
commit
39d001c9b5
1 changed files with 1 additions and 1 deletions
|
|
@ -827,7 +827,7 @@ export function AgentConfigForm(props: AgentConfigFormProps) {
|
||||||
onCommit={(v) =>
|
onCommit={(v) =>
|
||||||
isCreate
|
isCreate
|
||||||
? set!({ extraArgs: v })
|
? set!({ extraArgs: v })
|
||||||
: mark("adapterConfig", "extraArgs", v ? parseCommaArgs(v) : null)
|
: mark("adapterConfig", "extraArgs", v?.trim() ? parseCommaArgs(v) : null)
|
||||||
}
|
}
|
||||||
immediate
|
immediate
|
||||||
className={inputClass}
|
className={inputClass}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue