create form: reset caps and inference with the archetype after a create
A successful create left cpu, memory and inference at the picked
archetype's values under a select reading none. The reset now goes
through pickArchetype(""), the path picking none takes.
Refs #5386
This commit is contained in:
parent
0382c65386
commit
a2b4320cc4
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ export function CreateAgentForm({
|
|||
const data = (await r.json()) as CreateAgentResponse;
|
||||
setResult({ status: "done", nodeId: data.node_id });
|
||||
setName("");
|
||||
setArchetype("");
|
||||
pickArchetype("");
|
||||
if (catalogue)
|
||||
setSelected(
|
||||
initialSelection(catalogue.all, catalogue.default, extraPermissions),
|
||||
|
|
|
|||
Loading…
Reference in a new issue