mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-17 16:31:28 +00:00
[Bugfix] Push system user have not result may be error, fixed #701
This commit is contained in:
parent
688a836bbe
commit
d1fbbd3213
@ -70,7 +70,7 @@ class TaskDetailView(DetailView):
|
|||||||
context = {
|
context = {
|
||||||
'app': 'Ops',
|
'app': 'Ops',
|
||||||
'action': 'Task record detail',
|
'action': 'Task record detail',
|
||||||
'results': json.loads(self.object.summary),
|
'results': json.loads(self.object.summary or '{}'),
|
||||||
}
|
}
|
||||||
kwargs.update(context)
|
kwargs.update(context)
|
||||||
return super(TaskDetailView, self).get_context_data(**kwargs)
|
return super(TaskDetailView, self).get_context_data(**kwargs)
|
||||||
|
Loading…
Reference in New Issue
Block a user