fix broken builds page on update of build of another project

This commit is contained in:
oleg 2015-11-19 21:50:41 +03:00
parent bfdfaa9be2
commit 823e3dfb12

View File

@ -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;