From 4e03b0e889c7028ca89c0d4cfb45e16a79fce949 Mon Sep 17 00:00:00 2001 From: cherif Date: Sun, 4 Feb 2024 22:33:16 +0100 Subject: [PATCH] trree --- src/components/DisplayPartnerSession.js | 38 +-- src/components/DisplayPartnerStagiaires.js | 36 +-- .../DisplayPartnerTrainingsPagination.js | 37 +-- src/components/Employes.js | 234 +++++++++++++++--- .../Module_Attestation_Formation.js | 36 +-- src/components/TestUrl.js | 38 +-- 6 files changed, 315 insertions(+), 104 deletions(-) diff --git a/src/components/DisplayPartnerSession.js b/src/components/DisplayPartnerSession.js index 0c420ad..b71ac6f 100644 --- a/src/components/DisplayPartnerSession.js +++ b/src/components/DisplayPartnerSession.js @@ -126,20 +126,28 @@ const DisplayPartnerSession = (props) => { const [expanded, setExpanded] = React.useState(false); return ( -
- {expanded ? value : value.slice(0, 50)}  - {value.length > 50 && ( - // eslint-disable-next-line jsx-a11y/anchor-is-valid - setExpanded(!expanded)} - > - {expanded ? : } - - )} -
+ ); } @@ -12663,7 +12671,7 @@ const DisplayPartnerSession = (props) => { {selectionModel_sequence && selectionModel_sequence.length > 1 &&
- +