From 4f25f4423a2a2cec8a7b512e7cf2693e874f5974 Mon Sep 17 00:00:00 2001
From: Felix Hennig
Date: Wed, 4 Dec 2024 20:42:37 +0100
Subject: [PATCH] Make 'Open Data Use Terms' a link to the data use terms page
---
.../components/DataUseTerms/EditDataUseTermsModal.tsx | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/website/src/components/DataUseTerms/EditDataUseTermsModal.tsx b/website/src/components/DataUseTerms/EditDataUseTermsModal.tsx
index 510f1c7aa..e934c9667 100644
--- a/website/src/components/DataUseTerms/EditDataUseTermsModal.tsx
+++ b/website/src/components/DataUseTerms/EditDataUseTermsModal.tsx
@@ -3,6 +3,7 @@ import { useEffect, useState } from 'react';
import { toast } from 'react-toastify';
import DataUseTermsSelector from './DataUseTermsSelector';
+import { routes } from '../../routes/routes';
import { backendClientHooks, lapisClientHooks } from '../../services/serviceHooks';
import { DATA_USE_TERMS_FIELD, DATA_USE_TERMS_RESTRICTED_UNTIL_FIELD } from '../../settings';
import {
@@ -176,9 +177,12 @@ const EditControl: React.FC = ({ clientConfig, accessToken, st
{state.openCount} open and {state.restrictedCount} restricted sequences selected.
- You can release all the {state.restrictedCount} restricted sequences, moving them to the Open Data Use Terms. If you want to
- pick a date for the restricted sequences, please narrow your selection down to just restricted
- sequences. You can use the filters to do so.
+ You can release all the {state.restrictedCount} restricted sequences, moving them to the{' '}
+
+ Open Data Use Terms
+
+ . If you want to pick a date for the restricted sequences, please narrow your selection down to
+ just restricted sequences. You can use the filters to do so.