1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 06:51:10 +03:00

Merge pull request #2970 from kialam/fix/2969-empty-stdout

Detect if `stdout` field is null or undefined.
This commit is contained in:
kialam 2018-09-04 14:11:44 -04:00 committed by GitHub
commit 19f9a3f918
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,7 +196,7 @@ function JobRenderService ($q, $sce, $window) {
}; };
this.transformEvent = event => { this.transformEvent = event => {
if (!event || !event.stdout) { if (!event || event.stdout === null || event.stdout === undefined) {
return { html: '', count: 0 }; return { html: '', count: 0 };
} }