F 修复与主机相关的监控项页面展示状态问题 #I5AIL1

pull/509/head
vapao 2022-06-19 11:01:28 +08:00
parent 21a0250ecd
commit fcff2d5efb
1 changed files with 1 additions and 0 deletions

View File

@ -114,6 +114,7 @@ def get_overview(request):
for item in Detection.objects.all():
data = {}
for key in json.loads(item.targets):
key = str(key)
data[key] = {
'id': f'{item.id}_{key}',
'group': item.group,