diff --git a/public/app/features/alerting/unified/components/rules/RuleDetails.tsx b/public/app/features/alerting/unified/components/rules/RuleDetails.tsx index 2e5394fc02f..f5c562fb0c7 100644 --- a/public/app/features/alerting/unified/components/rules/RuleDetails.tsx +++ b/public/app/features/alerting/unified/components/rules/RuleDetails.tsx @@ -34,6 +34,8 @@ export const RuleDetails = ({ rule }: Props) => { } = rule; const annotations = useCleanAnnotations(rule.annotations); + const isAlertingRule = + rulerRuleType.any.alertingRule(rule.rulerRule) || prometheusRuleType.alertingRule(rule.promRule); return (