Merge "web: check if job has parent"

This commit is contained in:
Zuul 2019-04-13 08:27:20 +00:00 committed by Gerrit Code Review
commit 492e8c6d9e
1 changed files with 3 additions and 1 deletions

View File

@ -88,7 +88,9 @@ class JobsList extends React.Component {
// Visit parent recursively
if (!flatten) {
for (let parent of parents) {
getNode(jobMap[parent], filtered)
if (jobMap[parent]) {
getNode(jobMap[parent], filtered)
}
}
}
}