mirror of
https://github.com/grafana/grafana.git
synced 2026-02-03 20:49:50 -05:00
Alerting: Fix alert rule list view summaries (#98433)
This commit is contained in:
parent
88fb8bc95c
commit
17ed25e101
1 changed files with 3 additions and 1 deletions
|
|
@ -368,7 +368,9 @@ function calculateAllGroupsTotals(groups: CombinedRuleGroup[]): AlertGroupTotals
|
|||
totals[key] = 0;
|
||||
}
|
||||
|
||||
totals[key] += value;
|
||||
if (value !== undefined && value !== null) {
|
||||
totals[key] += value;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue