mirror of
https://github.com/prymitive/karma
synced 2026-05-15 04:06:41 +00:00
Show group badge only if there are multiple alerts
This commit is contained in:
@@ -8,9 +8,11 @@
|
||||
<i class="fa fa-link"/>
|
||||
</a>
|
||||
</span>
|
||||
<% if (group.alerts.length > 1) { %>
|
||||
<span class="badge pull-right">
|
||||
<%- group.alerts.length %>
|
||||
</span>
|
||||
<% } %>
|
||||
<div class="panel-title">
|
||||
<% if (Object.keys(group.labels).length > 0) { %>
|
||||
<% _.each(Alerts.SortMapByKey(group.labels), function(label) { %>
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user