This is an automated email from the ASF dual-hosted git repository.
qiuxiafan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-booster-ui.git
The following commit(s) were added to refs/heads/main by this push:
new dc84260 fix: update condition logic for trace tree data (#186)
dc84260 is described below
commit dc842609ba866a0281748698e9d240feefd90829
Author: Fine0830 <[email protected]>
AuthorDate: Sat Nov 19 16:53:15 2022 +0800
fix: update condition logic for trace tree data (#186)
---
src/views/dashboard/related/trace/utils/trace-table.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/views/dashboard/related/trace/utils/trace-table.ts
b/src/views/dashboard/related/trace/utils/trace-table.ts
index 6d93cf6..f15ade1 100644
--- a/src/views/dashboard/related/trace/utils/trace-table.ts
+++ b/src/views/dashboard/related/trace/utils/trace-table.ts
@@ -144,7 +144,7 @@ export default class TraceUtil {
spanId: parentSpanId,
parentSpanId: parentSpanId > -1 ? 0 : -1,
};
- if (lodash.find(fixSpans, fixSpanKeyContent)) {
+ if (!lodash.find(fixSpans, fixSpanKeyContent)) {
fixSpans.push({
...fixSpanKeyContent,
refs: [],