From 5ad591cdc057428bd124a4f4f6ea3c71e1019dc3 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Tue, 6 Feb 2024 16:51:56 -0500 Subject: [PATCH] fix(striker-ui): translate host type, adjust success msg in prepare host form --- striker-ui/components/ManageHost/PrepareHostForm.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/striker-ui/components/ManageHost/PrepareHostForm.tsx b/striker-ui/components/ManageHost/PrepareHostForm.tsx index 016fd46b..44c3f018 100644 --- a/striker-ui/components/ManageHost/PrepareHostForm.tsx +++ b/striker-ui/components/ManageHost/PrepareHostForm.tsx @@ -54,14 +54,14 @@ const PrepareHostForm: FC = (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);