mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-06-30 16:05:24 +00:00
fix data
This commit is contained in:
parent
8c92c628a4
commit
844591a6f9
@ -52,7 +52,7 @@ limitations under the License. -->
|
||||
if (!ebpfStore.analyzeTrees.length) {
|
||||
return (stackTree.value = null);
|
||||
}
|
||||
const root: StackElement = {
|
||||
let root: StackElement = {
|
||||
parentId: "0",
|
||||
originId: "1",
|
||||
name: "Virtual Root",
|
||||
@ -67,8 +67,9 @@ limitations under the License. -->
|
||||
};
|
||||
countRange();
|
||||
if (props.type === ComponentType) {
|
||||
const root = processTree(ebpfStore.analyzeTrees[0].elements);
|
||||
stackTree.value = root;
|
||||
const elements = processTree(ebpfStore.analyzeTrees[0].elements);
|
||||
stackTree.value = elements;
|
||||
root = { ...root, ...elements };
|
||||
} else {
|
||||
for (const tree of ebpfStore.analyzeTrees) {
|
||||
const ele = processTree(tree.elements);
|
||||
|
Loading…
Reference in New Issue
Block a user