Skip to content
Snippets Groups Projects
Commit a154f152 authored by danieldeng2's avatar danieldeng2
Browse files

Change links in exam left bar

parent 56e588d7
No related branches found
No related tags found
No related merge requests found
...@@ -9,32 +9,32 @@ const LeftBarExams: React.FC = () => { ...@@ -9,32 +9,32 @@ const LeftBarExams: React.FC = () => {
{ {
title: "Overview", title: "Overview",
icon: faList, icon: faList,
activeURL: `/exams/`, activeURL: `/exams`,
}, },
{ {
title: "Past Papers", title: "Past Papers",
icon: faArchive, icon: faArchive,
activeURL: `/exams/past-papers/`, activeURL: `/exams/papers`,
}, },
{ {
title: "Submissions", title: "Submissions",
icon: faUpload, icon: faUpload,
activeURL: `/exams/past-papers/`, activeURL: `/exams/submissions`,
}, },
{ {
title: "Exam Timetable", title: "Exam Timetable",
icon: faCalendarAlt, icon: faCalendarAlt,
activeURL: `/exams/past-papers/`, activeURL: `/exams/timetable`,
}, },
{ {
title: "Regulations", title: "Regulations",
icon: faGavel, icon: faGavel,
activeURL: `/exams/regulations/`, activeURL: `/exams/regulations`,
}, },
{ {
title: "Grading", title: "Grading",
icon: faFont, icon: faFont,
activeURL: `/exams/grading/`, activeURL: `/exams/grading`,
}, },
{ {
title: "Rubrics", title: "Rubrics",
......
...@@ -51,7 +51,7 @@ const StandardView: React.FC<StandardViewProps> = ({ ...@@ -51,7 +51,7 @@ const StandardView: React.FC<StandardViewProps> = ({
<LeftBarModuleList modulesFilter={modulesFilter} setModulesFilter={setModulesFilter}/> <LeftBarModuleList modulesFilter={modulesFilter} setModulesFilter={setModulesFilter}/>
</Route> </Route>
<Route exact path="/exams"> <Route path="/exams">
<LeftBarExams /> <LeftBarExams />
</Route> </Route>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment