mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Fix alert rule list view summaries (#98433)
This commit is contained in:
@@ -368,7 +368,9 @@ function calculateAllGroupsTotals(groups: CombinedRuleGroup[]): AlertGroupTotals
|
||||
totals[key] = 0;
|
||||
}
|
||||
|
||||
totals[key] += value;
|
||||
if (value !== undefined && value !== null) {
|
||||
totals[key] += value;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user