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:
commit
19f9a3f918
@ -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 };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user