Skip to content

Commit

Permalink
fix topo NodeSelectorFrom value in cluster new
Browse files Browse the repository at this point in the history
  • Loading branch information
TianWuwt committed Dec 24, 2024
1 parent 5aa9cba commit 1c56231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/pages/Cluster/New/Topo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default function Topo({ form }) {
const promise = getNodeLabelsReq();
promise.then((data) => {
setKeyList(data.key);
setValList(data.value);
setValList(data.value?.filter((item) => item.label !== ''));
});
}
}, []);
Expand Down

0 comments on commit 1c56231

Please sign in to comment.