Merge branch 'main' of github.com:apache/skywalking-booster-ui into refactor/topology

This commit is contained in:
Fine 2023-03-20 19:05:23 +08:00
commit 68be30402a

View File

@ -372,7 +372,7 @@ limitations under the License. -->
}
items.value = [
{ id: "inspect", title: "Inspect", func: handleInspect },
{ id: "alarm", title: "Alarm", func: handleGoAlarm },
{ id: "alerting", title: "Alerting", func: handleGoAlerting },
];
}
function handleLinkClick(event: MouseEvent, d: Call) {
@ -435,8 +435,8 @@ limitations under the License. -->
window.open(routeUrl.href, "_blank");
dashboardStore.setEntity(origin);
}
function handleGoAlarm() {
const path = `/alarm`;
function handleGoAlerting() {
const path = `/alerting`;
const routeUrl = router.resolve({ path });
window.open(routeUrl.href, "_blank");
@ -472,7 +472,7 @@ limitations under the License. -->
function setNodeTools(nodeDashboard: any) {
items.value = [
{ id: "inspect", title: "Inspect", func: handleInspect },
{ id: "alarm", title: "Alarm", func: handleGoAlarm },
{ id: "alerting", title: "Alerting", func: handleGoAlerting },
];
if (!(nodeDashboard && nodeDashboard.length)) {
return;