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,
hostName: name,
hostPassword: password,
hostType: type,
hostType: type === 'subnode' ? 'node' : type,
hostUUID: uuid,
redhatPassword,
redhatUser: redhatUsername,
})
.then(() => {
tools.confirm.finish('Success', {
children: <>Host at {ip} prepared.</>,
children: <>Started job to prepare host at {ip}.</>,
});
tools.add.open(false);

Loading…
Cancel
Save