mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-04 00:44:08 +00:00
Merge branch 'main' of github.com:apache/skywalking-booster-ui into refactor/topology
This commit is contained in:
commit
68be30402a
@ -372,7 +372,7 @@ limitations under the License. -->
|
|||||||
}
|
}
|
||||||
items.value = [
|
items.value = [
|
||||||
{ id: "inspect", title: "Inspect", func: handleInspect },
|
{ id: "inspect", title: "Inspect", func: handleInspect },
|
||||||
{ id: "alarm", title: "Alarm", func: handleGoAlarm },
|
{ id: "alerting", title: "Alerting", func: handleGoAlerting },
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
function handleLinkClick(event: MouseEvent, d: Call) {
|
function handleLinkClick(event: MouseEvent, d: Call) {
|
||||||
@ -435,8 +435,8 @@ limitations under the License. -->
|
|||||||
window.open(routeUrl.href, "_blank");
|
window.open(routeUrl.href, "_blank");
|
||||||
dashboardStore.setEntity(origin);
|
dashboardStore.setEntity(origin);
|
||||||
}
|
}
|
||||||
function handleGoAlarm() {
|
function handleGoAlerting() {
|
||||||
const path = `/alarm`;
|
const path = `/alerting`;
|
||||||
const routeUrl = router.resolve({ path });
|
const routeUrl = router.resolve({ path });
|
||||||
|
|
||||||
window.open(routeUrl.href, "_blank");
|
window.open(routeUrl.href, "_blank");
|
||||||
@ -472,7 +472,7 @@ limitations under the License. -->
|
|||||||
function setNodeTools(nodeDashboard: any) {
|
function setNodeTools(nodeDashboard: any) {
|
||||||
items.value = [
|
items.value = [
|
||||||
{ id: "inspect", title: "Inspect", func: handleInspect },
|
{ id: "inspect", title: "Inspect", func: handleInspect },
|
||||||
{ id: "alarm", title: "Alarm", func: handleGoAlarm },
|
{ id: "alerting", title: "Alerting", func: handleGoAlerting },
|
||||||
];
|
];
|
||||||
if (!(nodeDashboard && nodeDashboard.length)) {
|
if (!(nodeDashboard && nodeDashboard.length)) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user