mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-12 15:52:57 +00:00
fix: update
This commit is contained in:
parent
eea69ccfb5
commit
480cf75f52
@ -1,4 +1,3 @@
|
|||||||
import { dashboardStore } from "./dashboard";
|
|
||||||
/**
|
/**
|
||||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||||
* contributor license agreements. See the NOTICE file distributed with
|
* contributor license agreements. See the NOTICE file distributed with
|
||||||
|
@ -170,7 +170,7 @@ limitations under the License. -->
|
|||||||
:tags="currentRow.expressions || []"
|
:tags="currentRow.expressions || []"
|
||||||
:vertical="true"
|
:vertical="true"
|
||||||
:text="t('addExpressions')"
|
:text="t('addExpressions')"
|
||||||
@change="(param) => changeExpressions(param)"
|
@change="(param: string[]) => changeExpressions(param)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
|
@ -272,7 +272,7 @@ export function hierarchy(levels: Node[][], calls: Call[], radius: number) {
|
|||||||
export function computeHierarchyLevels(nodes: Node[]) {
|
export function computeHierarchyLevels(nodes: Node[]) {
|
||||||
const levelsNum: number[] = nodes.map((d: Node) => d.l || 0);
|
const levelsNum: number[] = nodes.map((d: Node) => d.l || 0);
|
||||||
const list = [...new Set(levelsNum)];
|
const list = [...new Set(levelsNum)];
|
||||||
const sortedArr = list.sort((a, b) => a - b);
|
const sortedArr = list.sort((a, b) => b - a);
|
||||||
const nodesList = [];
|
const nodesList = [];
|
||||||
|
|
||||||
for (const min of sortedArr) {
|
for (const min of sortedArr) {
|
||||||
|
@ -57,7 +57,7 @@ limitations under the License. -->
|
|||||||
:tags="states.linkServerExpressions"
|
:tags="states.linkServerExpressions"
|
||||||
:vertical="true"
|
:vertical="true"
|
||||||
:text="t('addExpressions')"
|
:text="t('addExpressions')"
|
||||||
@change="(param) => changeLinkServerExpressions(param)"
|
@change="(param: string[]) => changeLinkServerExpressions(param)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<Selector
|
<Selector
|
||||||
@ -92,7 +92,7 @@ limitations under the License. -->
|
|||||||
:tags="states.linkClientExpressions"
|
:tags="states.linkClientExpressions"
|
||||||
:vertical="true"
|
:vertical="true"
|
||||||
:text="t('addExpressions')"
|
:text="t('addExpressions')"
|
||||||
@change="(param) => changeLinkClientExpressions(param)"
|
@change="(param: string[]) => changeLinkClientExpressions(param)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<Selector
|
<Selector
|
||||||
@ -168,7 +168,7 @@ limitations under the License. -->
|
|||||||
:tags="states.nodeExpressions"
|
:tags="states.nodeExpressions"
|
||||||
:vertical="true"
|
:vertical="true"
|
||||||
:text="t('addExpressions')"
|
:text="t('addExpressions')"
|
||||||
@change="(param) => changeNodeExpressions(param)"
|
@change="(param: string[]) => changeNodeExpressions(param)"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<Selector
|
<Selector
|
||||||
|
Loading…
Reference in New Issue
Block a user