mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-11 23:22:59 +00:00
fix: update condition logic for trace tree data (#186)
This commit is contained in:
parent
670bef1d69
commit
dc842609ba
@ -144,7 +144,7 @@ export default class TraceUtil {
|
|||||||
spanId: parentSpanId,
|
spanId: parentSpanId,
|
||||||
parentSpanId: parentSpanId > -1 ? 0 : -1,
|
parentSpanId: parentSpanId > -1 ? 0 : -1,
|
||||||
};
|
};
|
||||||
if (lodash.find(fixSpans, fixSpanKeyContent)) {
|
if (!lodash.find(fixSpans, fixSpanKeyContent)) {
|
||||||
fixSpans.push({
|
fixSpans.push({
|
||||||
...fixSpanKeyContent,
|
...fixSpanKeyContent,
|
||||||
refs: [],
|
refs: [],
|
||||||
|
Loading…
Reference in New Issue
Block a user