mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-06-29 11:07:36 +00:00
fix: alerting link (#244)
This commit is contained in:
parent
4e64b9a4b1
commit
1c905aeb06
@ -228,7 +228,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: PointerEvent, d: Call) {
|
function handleLinkClick(event: PointerEvent, d: Call) {
|
||||||
@ -401,8 +401,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");
|
||||||
@ -447,7 +447,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