Skip to content

Commit

Permalink
Update Navbar.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
wxy1203 committed Oct 25, 2024
1 parent 5bc43e3 commit 21e5c80
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions multi-git-dashboard/src/components/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ const Navbar: React.FC = () => {
},
{
link: `/courses/${courseId}`,
label: 'Team View',
// disabled: !peopleAdded,
label: 'Team Review',
disabled: !peopleAdded,
pngSrc: '/team-view.png',
},
{
Expand All @@ -203,25 +203,25 @@ const Navbar: React.FC = () => {
{
link: `/courses/${courseId}/teams`,
label: 'Teams',
// disabled: !peopleAdded,
disabled: !peopleAdded,
pngSrc: '/teams.png',
},
{
link: `/courses/${courseId}/timeline`,
label: 'Timeline',
// disabled: !peopleAdded,
disabled: !peopleAdded,
pngSrc: '/timeline.png',
},
{
link: `/courses/${courseId}/assessments`,
label: 'Assessments',
// disabled: !peopleAdded,
disabled: !peopleAdded,
pngSrc: '/assessments.png',
},
{
link: `/courses/${courseId}/project-management`,
label: 'Project Management',
// disabled: !peopleAdded,
disabled: !peopleAdded,
pngSrc: '/jira.png',
},
];
Expand Down Expand Up @@ -423,9 +423,10 @@ const Navbar: React.FC = () => {
onClose={() => setAlertOpened(false)}
style={{
display: alertOpened ? 'block' : 'none',
width: '300px',
position: 'absolute',
top: '30%',
left: '55%',
top: '50%',
left: '800px',
transform: 'translate(-50%, -50%)',
zIndex: 1000,
}}
Expand Down

0 comments on commit 21e5c80

Please sign in to comment.