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

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)
}
}
}
}