fix(striker-ui): include DR host(s) in prepare network

main
Tsu-ba-me 1 year ago
parent a91d4f6e5e
commit d3b0da9396
  1. 2
      striker-ui/pages/manage-element/index.tsx

@ -93,7 +93,7 @@ const PrepareNetworkTabContent: FC = () => {
if (isFirstRender) { if (isFirstRender) {
api api
.get<APIHostOverviewList>('/host', { params: { types: 'node' } }) .get<APIHostOverviewList>('/host', { params: { types: ['dr', 'node'] } })
.then(({ data }) => { .then(({ data }) => {
setHostOverviewList(data); setHostOverviewList(data);
setHostSubTabId(Object.keys(data)[0]); setHostSubTabId(Object.keys(data)[0]);

Loading…
Cancel
Save