mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 19:07:36 -02:30
undefined conditional check
This commit is contained in:
@@ -308,7 +308,7 @@ function(jobData, jobDataOptions, jobLabels, jobFinished, count, $scope, ParseTy
|
|||||||
// let's see if we have a specific place to put it in
|
// let's see if we have a specific place to put it in
|
||||||
// the pane
|
// the pane
|
||||||
let $prevElem = $(`.next_is_${mungedEvent.start_line}`);
|
let $prevElem = $(`.next_is_${mungedEvent.start_line}`);
|
||||||
if ($prevElem.length) {
|
if ($prevElem && $prevElem.length) {
|
||||||
// if so, put it there
|
// if so, put it there
|
||||||
$(`.next_is_${mungedEvent.start_line}`)
|
$(`.next_is_${mungedEvent.start_line}`)
|
||||||
.after($compile(mungedEvent
|
.after($compile(mungedEvent
|
||||||
|
|||||||
Reference in New Issue
Block a user