Alerting: Fix wrong conditional showing errors all the time (#104297)

fix wrong conditional showing errors all the timne
This commit is contained in:
Sonia Aguilar
2025-04-22 14:39:45 +00:00
committed by GitHub
parent c5f8b4475f
commit 2514944d3c
@@ -49,7 +49,7 @@ export function RuleListErrors(): ReactElement {
</>
);
}
if (true) {
if (grafanaRulerError) {
result.push(
<>
<Trans i18nKey="alerting.rule-list-errors.failed-to-load-grafana-rules-config">