mirror of https://github.com/jumpserver/jumpserver
[Bugfix] Push system user have not result may be error, fixed #701
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