diff --git a/client/src/components/TableRowReport/index.tsx b/client/src/components/TableRowReport/index.tsx index 609587a..751192c 100644 --- a/client/src/components/TableRowReport/index.tsx +++ b/client/src/components/TableRowReport/index.tsx @@ -2,7 +2,7 @@ import React, { memo } from "react"; import { Link } from "react-router-dom"; import { calcScore } from "@/lib/score"; -const TableRowReport = ({ id, createdAt, deadline, evaluations, finished }) => { +const TableRowReport = ({ id, createdAt, deadline, evaluations, finished, actionLabel = "Vezi"}) => { const evaluationsCompleted = evaluations ? evaluations.filter(({ dimensions }) => dimensions.length === 10) : []; @@ -38,7 +38,7 @@ const TableRowReport = ({ id, createdAt, deadline, evaluations, finished }) => { {finished ? "Finalizat" : "In desfasurare"} - Vezi + {actionLabel} ); diff --git a/client/src/pages/Home/index.tsx b/client/src/pages/Home/index.tsx index 1626210..37b2b2c 100644 --- a/client/src/pages/Home/index.tsx +++ b/client/src/pages/Home/index.tsx @@ -66,6 +66,7 @@ const Home = () => { deadline={report.deadline} evaluations={report.evaluations} finished={report.finished} + actionLabel={"Vezi rezultatele"} /> ); })}