F 修复工作台统计主机数量不正确的问题

pull/31/head
vapao 2020-02-27 21:18:10 +08:00
parent f2050274ce
commit 5cd87277d5
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ import json
def get_statistic(request):
data = {
'app': App.objects.count(),
'host': Host.objects.count(),
'host': Host.objects.filter(deleted_at__isnull=True).count(),
'task': Task.objects.count(),
'detection': Detection.objects.count()
}