mirror of https://github.com/openspug/spug
F 修复工作台统计主机数量不正确的问题
parent
f2050274ce
commit
5cd87277d5
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue