Skip to content

Commit 6174785

Browse files
committed
handle flattened investor_ids
1 parent 8c4cbc2 commit 6174785

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/scripts/services/company.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ angular.module('crunchinatorApp.models').service('Company', function(Model, API_
5454
'byInvestors': function() {
5555
var ids = this.filterData.investorIds;
5656
this.dimensions.byInvestors.filter(function(investorIds) {
57-
return (ids.length === 0 || _.intersection(investorIds[0], ids).length > 0);
57+
return (ids.length === 0 || _.intersection(investorIds, ids).length > 0);
5858
});
5959
},
6060
'byId': function() {

0 commit comments

Comments
 (0)