mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 11:11:07 -03: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
|
||||
// the pane
|
||||
let $prevElem = $(`.next_is_${mungedEvent.start_line}`);
|
||||
if ($prevElem.length) {
|
||||
if ($prevElem && $prevElem.length) {
|
||||
// if so, put it there
|
||||
$(`.next_is_${mungedEvent.start_line}`)
|
||||
.after($compile(mungedEvent
|
||||
|
||||
Reference in New Issue
Block a user