From 17747e998da10143e8e7e7812ec1282696084956 Mon Sep 17 00:00:00 2001 From: William Petit Date: Thu, 10 Sep 2020 11:12:58 +0200 Subject: [PATCH] =?UTF-8?q?Passage=20en=20lecture=20seule=20du=20DAD=20lor?= =?UTF-8?q?squ'il=20appartient=20=C3=A0=20un=20groupe=20diff=C3=A9rent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ClarificationSection.tsx | 40 ++++++++++-------- .../DecisionSupportFilePage.tsx | 20 ++++++--- .../DecisionSupportFileUpdaterProps.tsx | 1 + .../DecisionSupportFilePage/MetadataPanel.tsx | 41 ++++++++++++------- .../OptionsSection.tsx | 13 ++++-- 5 files changed, 76 insertions(+), 39 deletions(-) diff --git a/client/src/components/DecisionSupportFilePage/ClarificationSection.tsx b/client/src/components/DecisionSupportFilePage/ClarificationSection.tsx index 264dfbc..21c1c0a 100644 --- a/client/src/components/DecisionSupportFilePage/ClarificationSection.tsx +++ b/client/src/components/DecisionSupportFilePage/ClarificationSection.tsx @@ -7,7 +7,7 @@ export interface ClarificationSectionProps extends DecisionSupportFileUpdaterPro const ClarificationSectionName = 'clarification'; -export const ClarificationSection: FunctionComponent = ({ dsf, updateDSF }) => { +export const ClarificationSection: FunctionComponent = ({ dsf, updateDSF, readOnly }) => { const [ state, setState ] = useState({ changed: false, section: { @@ -51,15 +51,16 @@ export const ClarificationSection: FunctionComponent
- +
- +
- +
-