mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-25 19:46:16 +00:00
fix broken builds page on update of build of another project
This commit is contained in:
parent
bfdfaa9be2
commit
823e3dfb12
@ -18,7 +18,7 @@ define([
|
||||
var projectName = this.props.projectName;
|
||||
if (projectName) {
|
||||
return _(items).filter(function(item) {
|
||||
return item.project.name === projectName;
|
||||
return item.project && item.project.name === projectName;
|
||||
});
|
||||
} else {
|
||||
return items;
|
||||
|
Loading…
Reference in New Issue
Block a user