mirror of
https://github.com/prymitive/karma
synced 2026-08-28 11:17:28 +00:00
Include receiver in the group link filter
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script type="application/json" id="alert-group-title">
|
||||
<% if (Object.keys(group.labels).length > 0) { %>
|
||||
<% var filters = [] %>
|
||||
<% var filters = ['@receiver=' + group.receiver] %>
|
||||
<% _.each(group.labels, function(label_val, label_key) { filters.push(label_key + '=' + label_val) }) %>
|
||||
<% var groupLink = '?q=' + filters.join(',') %>
|
||||
<span class="pull-left alert-group-link">
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user