diff --git a/public/app/features/alerting/unified/components/RuleConditionSection.tsx b/public/app/features/alerting/unified/components/RuleConditionSection.tsx index 08809f160d2..eed9081cd9a 100644 --- a/public/app/features/alerting/unified/components/RuleConditionSection.tsx +++ b/public/app/features/alerting/unified/components/RuleConditionSection.tsx @@ -50,7 +50,7 @@ function createExpressionQueries( datasourceUid: ExpressionDatasourceUID, queryType: 'expression', model: { refId: reduceRefId }, - } as AlertQuery, + }, ]; const thresholdRefId = existingExpressions[1]?.refId || getNextRefId(tempQueries);