MCPcopy Create free account
hub / github.com/GreatStackDev/project-management / getProjectSubItems

Function getProjectSubItems

src/components/ProjectsSidebar.jsx:17–22  ·  view source on GitHub ↗
(projectId)

Source from the content-addressed store, hash-verified

15 );
16
17 const getProjectSubItems = (projectId) => [
18 { title: 'Tasks', icon: KanbanIcon, url: `/projectsDetail?id=${projectId}&tab=tasks` },
19 { title: 'Analytics', icon: ChartColumnIcon, url: `/projectsDetail?id=${projectId}&tab=analytics` },
20 { title: 'Calendar', icon: CalendarIcon, url: `/projectsDetail?id=${projectId}&tab=calendar` },
21 { title: 'Settings', icon: SettingsIcon, url: `/projectsDetail?id=${projectId}&tab=settings` }
22 ];
23
24 const toggleProject = (id) => {
25 const newSet = new Set(expandedProjects);

Callers 1

ProjectSidebarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected