fix(striker-ui): restrict prepare host list to subnodes, dr hosts

main
Tsu-ba-me 11 months ago
parent c8e7994ab9
commit 917e57dac4
  1. 3
      striker-ui/components/ManageHost/ManageHost.tsx

@ -14,7 +14,8 @@ const ManageHost: FC = () => {
<CrudList<APIHostOverview, APIHostDetail>
addHeader="Initialize host"
editHeader=""
entriesUrl="/host"
entriesUrl="/host?types=dr,node"
entryUrlPrefix="/host"
getDeleteErrorMessage={(children, ...rest) => ({
...rest,
children: <>Failed to delete host(s). {children}</>,

Loading…
Cancel
Save