From 3b67cebd400ebdfa6e950bc17fe63f9929e585f0 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Fri, 7 Apr 2023 13:42:55 +0200 Subject: [PATCH] [v9.5.x] Alerting: Fix docs link when creating or editing rules (#66164) Alerting: Fix docs link when creating or editing rules (#66019) (cherry picked from commit 3e12b72f58bac39cb6ccd17b60da8adce7b930d0) Co-authored-by: George Robinson --- .../alerting/unified/components/rule-editor/DetailsStep.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/public/app/features/alerting/unified/components/rule-editor/DetailsStep.tsx b/public/app/features/alerting/unified/components/rule-editor/DetailsStep.tsx index 799b89f67cf..a33071e7a05 100644 --- a/public/app/features/alerting/unified/components/rule-editor/DetailsStep.tsx +++ b/public/app/features/alerting/unified/components/rule-editor/DetailsStep.tsx @@ -12,7 +12,7 @@ function getDescription(ruleType: RuleFormType | undefined) { return 'Select the Namespace and Group for your recording rule.'; } const docsLink = - 'https://grafana.com/docs/grafana/latest/alerting/fundamentals/annotation-label/variables-label-annotation/#the-values-variable'; + 'https://grafana.com/docs/grafana/latest/alerting/fundamentals/annotation-label/variables-label-annotation'; const LinkToDocs = () => ( Click{' '} @@ -26,8 +26,7 @@ function getDescription(ruleType: RuleFormType | undefined) { return ( {' '} - Write a summary to help you better manage your alerts. - + Write a summary to help you better manage your alerts. ); } @@ -36,7 +35,6 @@ function getDescription(ruleType: RuleFormType | undefined) { {' '} Select the Namespace and evaluation group for your alert. Write a summary to help you better manage your alerts.{' '} - ); }