Merge pull request #118 from cloudflare/group-link-receiver

Include receiver in the group link filter
This commit is contained in:
Łukasz Mierzwa
2017-06-13 09:36:54 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
File diff suppressed because one or more lines are too long