From 1c905aeb06669d554680ed9ffdfb69d217423fff Mon Sep 17 00:00:00 2001 From: Fine0830 Date: Thu, 16 Mar 2023 17:44:25 +0800 Subject: [PATCH] fix: alerting link (#244) --- src/views/dashboard/related/topology/components/Graph.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/dashboard/related/topology/components/Graph.vue b/src/views/dashboard/related/topology/components/Graph.vue index 6137a51f..9d7ac033 100644 --- a/src/views/dashboard/related/topology/components/Graph.vue +++ b/src/views/dashboard/related/topology/components/Graph.vue @@ -228,7 +228,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: PointerEvent, d: Call) { @@ -401,8 +401,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"); @@ -447,7 +447,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;