mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 07:43:12 +09:00
Fix webui error on setting host config (#893)
This commit is contained in:
1 parent
490e9c0e5f
commit
3667b4733a
2 files changed
+3
-3
No files matched your search
@@ -14,7 +14,7 @@ export default function HostConfigTree(props: { id: number, available: boolean }
|
||||
}
|
||||
|
||||
async function setConfig(fields: Record<string, string | Record<string, string>>) {
|
||||
await control.send(new lib.HostConfigSetRequest(fields));
|
||||
await control.sendTo({ hostId: props.id }, new lib.HostConfigSetRequest(fields));
|
||||
}
|
||||
|
||||
return <BaseConfigTree
|
||||
|
||||
Reference in new issue
Block a user