From 4bde33930804dd06908c1d1b9dbe41bc4f2e3bb2 Mon Sep 17 00:00:00 2001 From: NSUWAL123 Date: Wed, 28 Aug 2024 13:23:54 +0545 Subject: [PATCH] fix(submissionInstancePage): update submission instance page route --- .../src/components/ProjectSubmissions/SubmissionsTable.tsx | 4 +++- src/frontend/src/routes.jsx | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/components/ProjectSubmissions/SubmissionsTable.tsx b/src/frontend/src/components/ProjectSubmissions/SubmissionsTable.tsx index 17ed993eb1..a81a041874 100644 --- a/src/frontend/src/components/ProjectSubmissions/SubmissionsTable.tsx +++ b/src/frontend/src/components/ProjectSubmissions/SubmissionsTable.tsx @@ -434,7 +434,9 @@ const SubmissionsTable = ({ toggleView }) => { { - navigate(`/project/${projectId}/tasks/${taskUId}/submission/${row?.meta?.instanceID}`); + navigate( + `/project-submissions/${projectId}/tasks/${taskUId}/submission/${row?.meta?.instanceID}`, + ); }} />{' '} {' '} diff --git a/src/frontend/src/routes.jsx b/src/frontend/src/routes.jsx index b010f0066a..176b3967a5 100755 --- a/src/frontend/src/routes.jsx +++ b/src/frontend/src/routes.jsx @@ -81,7 +81,7 @@ const routes = createBrowserRouter([ ), }, { - path: '/project/:projectId/tasks/:taskId/submission/:instanceId', + path: '/project-submissions/:projectId/tasks/:taskId/submission/:instanceId', element: ( }>