Private
Public Access
1
0

fixed alert bug

This commit is contained in:
Sander Roosendaal
2022-09-15 09:00:36 +02:00
parent 65181bed14
commit 1a8b150299
2 changed files with 2 additions and 1 deletions

View File

@@ -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,
})