gui: make update machine work
Also fix error when age plugins not defined
This commit is contained in:
@@ -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", {
|
||||
|
||||
Reference in New Issue
Block a user