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

View File

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