fix(striker-ui): empty inquire host response on close in manage host

main^2
Tsu-ba-me 7 months ago
parent f4da1e8d14
commit 84d89a0e3b
  1. 8
      striker-ui/components/ManageHost/ManageHost.tsx

@ -16,6 +16,14 @@ const ManageHost: FC = () => {
return (
<CrudList<APIHostOverview, APIHostDetail>
formDialogProps={{
common: {
onClose: ({ handlers: { base } }, ...args) => {
base?.call(null, ...args);
setInquireHostResponse(undefined);
},
},
}}
addHeader="Initialize host"
editHeader=""
entriesUrl="/host?types=dr,node"

Loading…
Cancel
Save