Skip to content

Commit

Permalink
Merge pull request #2835 from Northeastern-Electric-Racing/#2796-Caio…
Browse files Browse the repository at this point in the history
…DaSilva-GuestViewTab

#2796-Added Guest View Tab to Admin Tools
  • Loading branch information
bderbs30 authored Sep 25, 2024
2 parents 4604985 + d99c461 commit 2940bb6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/frontend/src/pages/AdminToolsPage/AdminToolsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ const AdminToolsPage: React.FC = () => {
}
if (isUserAdmin) {
tabs.push({ tabUrlValue: 'recruitment', tabName: 'Recruitment' });
tabs.push({ tabUrlValue: 'guest-view', tabName: 'Guest View' });
tabs.push({ tabUrlValue: 'miscellaneous', tabName: 'Miscellaneous' });
}

Expand Down Expand Up @@ -91,6 +92,8 @@ const AdminToolsPage: React.FC = () => {
<AdminToolsFinanceConfig />
) : tabIndex === 3 ? (
<AdminToolsRecruitmentConfig />
) : tabIndex === 4 ? (
<Box></Box>
) : (
<Box>
<Box pb={2}>
Expand Down

0 comments on commit 2940bb6

Please sign in to comment.