mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-16 16:01:35 +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 = {
|
||||
'app': 'Ops',
|
||||
'action': 'Task record detail',
|
||||
'results': json.loads(self.object.summary),
|
||||
'results': json.loads(self.object.summary or '{}'),
|
||||
}
|
||||
kwargs.update(context)
|
||||
return super(TaskDetailView, self).get_context_data(**kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user