Skip to content

Commit 234ea7b

Browse files
#3872 removed hard coded teams
1 parent 42502bd commit 234ea7b

1 file changed

Lines changed: 1 addition & 24 deletions

File tree

src/frontend/src/layouts/Sidebar/Sidebar.tsx

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ const Sidebar = ({ drawerOpen, setDrawerOpen, moveContent, setMoveContent }: Sid
6363
);
6464
});
6565

66-
// Now allTeams will update when data arrives
6766
const memberLinkItems: LinkItem[] = [
6867
{
6968
name: 'Home',
@@ -104,7 +103,7 @@ const Sidebar = ({ drawerOpen, setDrawerOpen, moveContent, setMoveContent }: Sid
104103
{
105104
name: 'Design Review',
106105
icon: <RateReviewIcon />,
107-
route: routes.DESIGN_REVIEW_BY_ID
106+
route: routes.CALENDAR
108107
}
109108
]
110109
},
@@ -146,28 +145,6 @@ const Sidebar = ({ drawerOpen, setDrawerOpen, moveContent, setMoveContent }: Sid
146145
icon: <GroupIcon />,
147146
route: routes.TEAMS,
148147
subItems: allTeams
149-
// subItems: [
150-
// {
151-
// name: 'Mechanical',
152-
// icon: <ConstructionIcon />,
153-
// route: routes.FINANCE_DASHBOARD
154-
// },
155-
// {
156-
// name: 'Electrical',
157-
// icon: <BoltIcon />,
158-
// route: routes.REIMBURSEMENT_REQUESTS
159-
// },
160-
// {
161-
// name: 'Software',
162-
// icon: <CodeIcon />,
163-
// route: routes.CALENDAR
164-
// },
165-
// {
166-
// name: 'Business',
167-
// icon: <BusinessCenterIcon />,
168-
// route: routes.FINANCE_DASHBOARD
169-
// }
170-
// ]
171148
},
172149
!onGuestHomePage && {
173150
name: 'Calendar',

0 commit comments

Comments
 (0)