fixed alert bug
This commit is contained in:
@@ -1958,7 +1958,7 @@ def alert_report_view(request, id=0, userid=0, nperiod=0):
|
||||
stats = alert_get_stats(alert, nperiod=nperiod)
|
||||
|
||||
is_ajax = request_is_ajax(request)
|
||||
if not is_ajax:
|
||||
if is_ajax:
|
||||
return JSONResponse({
|
||||
"stats": stats,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user