From a0c00fbe4e40f1d31ea19973484969bc01fa9eb5 Mon Sep 17 00:00:00 2001 From: Max Chopart Date: Tue, 26 Mar 2024 08:56:07 +0100 Subject: [PATCH] [Upd 79] Records in record table are now links --- src/components/record/RecordRow.jsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/components/record/RecordRow.jsx b/src/components/record/RecordRow.jsx index f3fca0d7..1c2e8fc2 100644 --- a/src/components/record/RecordRow.jsx +++ b/src/components/record/RecordRow.jsx @@ -7,6 +7,8 @@ import { RECORD_PHASE, ROLE } from "../../constants/DefaultConstants"; import { useI18n } from "../../hooks/useI18n"; import { IfGranted } from "react-authorization"; import PromiseTrackingMask from "../misc/PromiseTrackingMask"; +import Routes from "../../constants/RoutesConstants.js"; +import { Link } from "react-router-dom"; const StatusInfo = {}; StatusInfo[RECORD_PHASE.OPEN] = { @@ -41,15 +43,11 @@ let RecordRow = (props) => { - + {record.key} - + {record.localName} {record.institution.name}