mirror of
https://github.com/prymitive/karma
synced 2026-05-07 03:26:52 +00:00
Merge pull request #464 from prymitive/fix-alert-count
fix(ui): use current number of alerts in the count label
This commit is contained in:
@@ -197,7 +197,10 @@ const AlertGroup = observer(
|
||||
tooltip="Show fewer alerts in this group"
|
||||
/>
|
||||
<small className="text-muted mx-2">
|
||||
{this.renderConfig.alertsToRender}
|
||||
{Math.min(
|
||||
this.renderConfig.alertsToRender,
|
||||
group.alerts.length
|
||||
)}
|
||||
{" of "}
|
||||
{group.alerts.length}
|
||||
</small>
|
||||
|
||||
Reference in New Issue
Block a user