Update route path in main.tsx to include signedOrUnsigned parameter
This commit is contained in:
parent
e63377effa
commit
badeb84282
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ function AllTimeReportsInProject(): JSX.Element {
|
||||||
<div className="border-4 border-black bg-white flex flex-col items-center justify-center min-h-[65vh] h-fit w-[50vw] rounded-3xl content-center overflow-scroll space-y-[10vh] p-[30px] text-[30px]">
|
<div className="border-4 border-black bg-white flex flex-col items-center justify-center min-h-[65vh] h-fit w-[50vw] rounded-3xl content-center overflow-scroll space-y-[10vh] p-[30px] text-[30px]">
|
||||||
{weeklyReports.map((newWeeklyReport, index) => (
|
{weeklyReports.map((newWeeklyReport, index) => (
|
||||||
<Link
|
<Link
|
||||||
to={`/editTimeReport/${projectName}/${newWeeklyReport.week}`}
|
to={`/editTimeReport/${projectName}/${newWeeklyReport.week}/${newWeeklyReport.signedBy ? "signed" : "unsigned"}`}
|
||||||
key={index}
|
key={index}
|
||||||
className="border-b-2 border-black w-full"
|
className="border-b-2 border-black w-full"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Add table
Reference in a new issue