From 2514944d3cae37126ca4b7458bf9cd97bb9c7712 Mon Sep 17 00:00:00 2001 From: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com> Date: Tue, 22 Apr 2025 16:39:45 +0200 Subject: [PATCH] Alerting: Fix wrong conditional showing errors all the time (#104297) fix wrong conditional showing errors all the timne --- .../alerting/unified/components/rules/RuleListErrors.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/alerting/unified/components/rules/RuleListErrors.tsx b/public/app/features/alerting/unified/components/rules/RuleListErrors.tsx index 4a731bfd4b3..e760c2b28a2 100644 --- a/public/app/features/alerting/unified/components/rules/RuleListErrors.tsx +++ b/public/app/features/alerting/unified/components/rules/RuleListErrors.tsx @@ -49,7 +49,7 @@ export function RuleListErrors(): ReactElement { ); } - if (true) { + if (grafanaRulerError) { result.push( <>