MCPcopy Create free account
hub / github.com/chartbrew/chartbrew / _init

Function _init

client/src/containers/ProjectBoard/ProjectBoard.jsx:52–56  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

50 }, [params, team]);
51
52 const _init = (id) => {
53 _getProject(id);
54 dispatch(getProjectCharts({ project_id: id || params.projectId }));
55 window.localStorage.setItem("__cb_active_team", team.id);
56 };
57
58 const _getProject = (id) => {
59 let { projectId } = params;

Callers 1

ProjectBoardFunction · 0.70

Calls 3

getProjectChartsFunction · 0.90
_getProjectFunction · 0.85
dispatchFunction · 0.50

Tested by

no test coverage detected