Points the host event modal's Standard Out tab at event_data.res.stdout

instead of `event_data.res.results.stdout`. Same for stderr. This was
some stale copy pasta from the host event modal rework
This commit is contained in:
Jared Tabor 2018-04-23 18:13:26 -07:00
parent e4ffdeb0b5
commit 298af25bab
No known key found for this signature in database
GPG Key ID: 1B343EC4C3CF7E5C

View File

@ -26,7 +26,7 @@ function HostEventsController (
$scope.module_name = 'No result found';
}
if (_.has(hostEvent.event_data, 'res.result.stdout')) {
if (_.has(hostEvent.event_data, 'res.stdout')) {
if (hostEvent.event_data.res.stdout === '') {
$scope.stdout = ' ';
} else {
@ -34,7 +34,7 @@ function HostEventsController (
}
}
if (_.has(hostEvent.event_data, 'res.result.stderr')) {
if (_.has(hostEvent.event_data, 'res.stderr')) {
if (hostEvent.event_data.res.stderr === '') {
$scope.stderr = ' ';
} else {