Skip to content

Commit

Permalink
fix(submissionInstancePage): update submission instance page route
Browse files Browse the repository at this point in the history
  • Loading branch information
NSUWAL123 committed Aug 28, 2024
1 parent d50af65 commit 4bde339
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,9 @@ const SubmissionsTable = ({ toggleView }) => {
<AssetModules.VisibilityOutlinedIcon
className="fmtm-text-[#545454] hover:fmtm-text-primaryRed"
onClick={() => {
navigate(`/project/${projectId}/tasks/${taskUId}/submission/${row?.meta?.instanceID}`);
navigate(
`/project-submissions/${projectId}/tasks/${taskUId}/submission/${row?.meta?.instanceID}`,
);
}}
/>{' '}
<span className="fmtm-text-primaryRed fmtm-border-[1px] fmtm-border-primaryRed fmtm-mx-1"></span>{' '}
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/src/routes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const routes = createBrowserRouter([
),
},
{
path: '/project/:projectId/tasks/:taskId/submission/:instanceId',
path: '/project-submissions/:projectId/tasks/:taskId/submission/:instanceId',
element: (
<ProtectedRoute>
<Suspense fallback={<div></div>}>
Expand Down

0 comments on commit 4bde339

Please sign in to comment.