From c262763df5d13bc0071c54733fbc92a955e2730c Mon Sep 17 00:00:00 2001 From: Aditya Hegde Date: Wed, 11 Dec 2024 19:24:34 +0530 Subject: [PATCH] fix: alert edit using metrics view name instead of explore name (#6251) --- web-common/src/features/alerts/EditAlertForm.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web-common/src/features/alerts/EditAlertForm.svelte b/web-common/src/features/alerts/EditAlertForm.svelte index e0a83aa53eb..4ac8cc6dca9 100644 --- a/web-common/src/features/alerts/EditAlertForm.svelte +++ b/web-common/src/features/alerts/EditAlertForm.svelte @@ -55,7 +55,9 @@ { query: { queryClient } }, ); - $: exploreName = getExploreName(alertSpec.annotations?.web_open_path ?? ""); + const exploreName = getExploreName( + alertSpec.annotations?.web_open_path ?? "", + ); const formState = createForm({ initialValues: {