wu-sheng commented on code in PR #442:
URL:
https://github.com/apache/skywalking-booster-ui/pull/442#discussion_r1892272571
##########
src/store/modules/topology.ts:
##########
@@ -338,14 +338,18 @@ export const topologyStore = defineStore({
}
const res = await this.getEndpointTopology(endpointIds);
if (depth > 1) {
- const ids = res.nodes.map((item: Node) => item.id).filter((d: string)
=> !endpointIds.includes(d));
+ const ids = res.nodes
+ .filter((item: Node) => item.isReal)
Review Comment:
A database could be `not real`. I think we should only filter User out.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]