diff --git a/frontend/src/container/FormAlertRules/index.tsx b/frontend/src/container/FormAlertRules/index.tsx index 3e2325f5be..09fc618759 100644 --- a/frontend/src/container/FormAlertRules/index.tsx +++ b/frontend/src/container/FormAlertRules/index.tsx @@ -77,7 +77,8 @@ function FormAlertRules({ const urlQuery = useUrlQuery(); - const panelType = urlQuery.get(QueryParams.panelTypes) as PANEL_TYPES | null; + // In case of alert the panel types should always be "Graph" only + const panelType = PANEL_TYPES.TIME_SERIES; const { currentQuery,