Rework rest API for alert stats

This commit is contained in:
Alfredo Cardigliano 2022-01-26 10:00:20 +01:00
parent 0eec59aa2e
commit bcf3c053ce
3 changed files with 14 additions and 3 deletions

View file

@ -4647,6 +4647,7 @@ end
-- #####################
-- Used by REST v1
function formatAlertAHref(key, value, label)
return "<a class='tag-filter' data-tag-key='" .. key .. "' title='" .. value .. "' data-tag-value='" .. value .. "' data-tag-label='" .. label .. "' href='#'>" .. label .. "</a>"
end