From 2540cc02f33ae7e2173ab3ad32dc6a0f68d44e7d Mon Sep 17 00:00:00 2001 From: copyhold Date: Thu, 26 Dec 2024 09:34:53 +0200 Subject: [PATCH] Fix --- .../alerting/unified/components/AnnotationDetailsField.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/features/alerting/unified/components/AnnotationDetailsField.tsx b/public/app/features/alerting/unified/components/AnnotationDetailsField.tsx index 1dca1e0e29779..20de9e96a9abc 100644 --- a/public/app/features/alerting/unified/components/AnnotationDetailsField.tsx +++ b/public/app/features/alerting/unified/components/AnnotationDetailsField.tsx @@ -44,9 +44,9 @@ const AnnotationValue = ({ annotationKey, value, valueLink }: Props) => { if (valueLink) { // LOGZ.IO GRAFANA CHANGE :: DEV-47446 - open external links in new tab with valid url - const href = value.match(/grafana-app/) ? value : `/grafana-app${value}`; + const href = valueLink.match(/grafana-app/) ? valueLink : `/grafana-app${valueLink}`; return ( - + {value} );