fix(striker-ui): translate host type, adjust success msg in prepare host form

main
Tsu-ba-me 11 months ago
parent 96be4a41b2
commit 5ad591cdc0
  1. 4
      striker-ui/components/ManageHost/PrepareHostForm.tsx

@ -54,14 +54,14 @@ const PrepareHostForm: FC<PreapreHostFormProps> = (props) => {
hostIPAddress: ip, hostIPAddress: ip,
hostName: name, hostName: name,
hostPassword: password, hostPassword: password,
hostType: type, hostType: type === 'subnode' ? 'node' : type,
hostUUID: uuid, hostUUID: uuid,
redhatPassword, redhatPassword,
redhatUser: redhatUsername, redhatUser: redhatUsername,
}) })
.then(() => { .then(() => {
tools.confirm.finish('Success', { tools.confirm.finish('Success', {
children: <>Host at {ip} prepared.</>, children: <>Started job to prepare host at {ip}.</>,
}); });
tools.add.open(false); tools.add.open(false);

Loading…
Cancel
Save