From 026b5a590b9e8fc44068cc7110250a3c7cc90a8b Mon Sep 17 00:00:00 2001 From: Aditya Hegde Date: Wed, 11 Dec 2024 13:06:18 +0530 Subject: [PATCH] Fix alert edit using metrics view name --- 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: {