Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/chartbrew/chartbrew
/ filterProjects
Function
filterProjects
server/api/TeamRoute.js:17–19 ·
view source on GitHub ↗
(projects, teamRole)
Source
from the content-addressed store, hash-verified
15
};
16
17
function
filterProjects(projects, teamRole) {
18
return
projects.filter((p) => _.indexOf(teamRole.projects, p.id) > -1);
19
}
20
21
module.exports = (app) => {
22
const
teamController =
new
TeamController();
Callers
1
TeamRoute.js
File · 0.85
Calls
1
filter
Method · 0.80
Tested by
no test coverage detected