Alert Rule default update (#11143)

This commit is contained in:
SourceDoctor
2020-02-13 22:10:40 +01:00
committed by GitHub
parent 1da33c61a0
commit 5d2d82059b

View File

@ -298,10 +298,11 @@ if (Auth::user()->hasGlobalAdmin()) {
$("#override_query").bootstrapSwitch('state', false);
$("#invert_map").bootstrapSwitch('state', false);
$(this).find("input[type=text]").val("");
$('#count').val('-1');
$('#count').val('1');
$('#delay').val('1m');
$('#interval').val('5m');
$('#adv_query').val('');
$('#severity').val('warning');
var $maps = $('#maps');
$maps.empty();
@ -392,7 +393,7 @@ if (Auth::user()->hasGlobalAdmin()) {
$("[name='override_query']").bootstrapSwitch('state', extra.options.override_query);
} else {
$('#count').val('-1');
$('#count').val('1');
}
}