Alerting: Fix alert rule list view summaries (#98433)

pull/98530/head
jackyin 7 months ago committed by GitHub
parent 88fb8bc95c
commit 17ed25e101
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      public/app/features/alerting/unified/hooks/useCombinedRuleNamespaces.ts

@ -368,7 +368,9 @@ function calculateAllGroupsTotals(groups: CombinedRuleGroup[]): AlertGroupTotals
totals[key] = 0;
}
if (value !== undefined && value !== null) {
totals[key] += value;
}
});
});

Loading…
Cancel
Save