From 5a8696cf6bd5a707230f8f740aa93ed5edc2cb99 Mon Sep 17 00:00:00 2001 From: Matt Jacobson Date: Wed, 7 Jan 2026 11:56:39 -0500 Subject: [PATCH] Fix route preview drawer policy name and link --- .../notificaton-preview/NotificationPolicyDrawer.tsx | 2 +- public/app/features/alerting/unified/routeGroupsMatcher.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/features/alerting/unified/components/rule-editor/notificaton-preview/NotificationPolicyDrawer.tsx b/public/app/features/alerting/unified/components/rule-editor/notificaton-preview/NotificationPolicyDrawer.tsx index 48154eb455b..e38e5d03f05 100644 --- a/public/app/features/alerting/unified/components/rule-editor/notificaton-preview/NotificationPolicyDrawer.tsx +++ b/public/app/features/alerting/unified/components/rule-editor/notificaton-preview/NotificationPolicyDrawer.tsx @@ -97,7 +97,7 @@ export function NotificationPolicyDrawer({ )} - + View notification policy tree diff --git a/public/app/features/alerting/unified/routeGroupsMatcher.ts b/public/app/features/alerting/unified/routeGroupsMatcher.ts index 5a89fb6623e..09cc5b88abc 100644 --- a/public/app/features/alerting/unified/routeGroupsMatcher.ts +++ b/public/app/features/alerting/unified/routeGroupsMatcher.ts @@ -52,7 +52,7 @@ export const routeGroupsMatcher = { .map((matchDetails) => ({ route, routeTree: { - metadata: { name: 'user-defined' }, + metadata: { name: routeTree.name }, expandedSpec: expandedTree, }, matchDetails,