Skip to content
Open
42 changes: 37 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 14 additions & 4 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ import UserEditor from "./pages/Users/UserEditor";
import Users from "./pages/Users/User";
import { loadUserDataRolesAndInstitutions } from "./pages/Users/userUtil";
import Home from "pages/Home";
import Questionnaire from "pages/EditQuestionnaire/Questionnaire";
import EditQuestionnaire from "pages/EditQuestionnaire/Questionnaire";
import ManageQuestionnaire from "pages/Questionnaire/questionnaire";
import Courses from "pages/Courses/Course";
import CourseEditor from "pages/Courses/CourseEditor";
import { loadCourseInstructorDataAndInstitutions } from "pages/Courses/CourseUtil";
Expand Down Expand Up @@ -57,7 +58,11 @@ function App() {
},
{
path: "edit-questionnaire",
element: <ProtectedRoute element={<Questionnaire />} />,
element: <ProtectedRoute element={<EditQuestionnaire />} />,
},
{
path: "questionnaire",
element: <ProtectedRoute element={<ManageQuestionnaire />} />,
},
{
path: "assignments/edit/:id/createteams",
Expand Down Expand Up @@ -282,14 +287,19 @@ function App() {
},
],
},
{
path: "edit-questionnaire",
element: <EditQuestionnaire />,
},
{
path: "questionnaire",
element: <Questionnaire />,
element: <ManageQuestionnaire />,
},
],
},
{ path: "*", element: <NotFound /> },
{ path: "questionnaire", element: <Questionnaire /> }, // Added the Questionnaire route
{ path: "edit-questionnaire", element: <EditQuestionnaire /> }, // Added the Questionnaire route
{ path: "questionnaire", element: <ManageQuestionnaire /> }, // Added the Questionnaire route
],
},
]);
Expand Down
Binary file added src/assets/icons/Copy-icon-24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/delete-icon-24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/icons/edit-icon-24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading