gui: make update machine work

Also fix error when age plugins not defined
This commit is contained in:
DavHau
2025-04-30 15:19:43 +07:00
parent f7e0345ab3
commit 8a4fe1405a
3 changed files with 10 additions and 32 deletions

View File

@@ -459,10 +459,6 @@ const MachineForm = (props: MachineDetailsProps) => {
}
const target = targetHost();
if (!target) {
toast.error("Target host is required");
return;
}
const loading_toast = toast.loading("Updating machine...");
const r = await callApi("update_machines", {