From 978cc65c41be37ebfca46073e29080651de8d563 Mon Sep 17 00:00:00 2001 From: William Petit Date: Thu, 10 Sep 2020 19:27:17 +0200 Subject: [PATCH] Dissimulation du bouton enregistrer en mode lecture seule --- .../DecisionSupportFilePage.tsx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/client/src/components/DecisionSupportFilePage/DecisionSupportFilePage.tsx b/client/src/components/DecisionSupportFilePage/DecisionSupportFilePage.tsx index 0459dd3..daf112a 100644 --- a/client/src/components/DecisionSupportFilePage/DecisionSupportFilePage.tsx +++ b/client/src/components/DecisionSupportFilePage/DecisionSupportFilePage.tsx @@ -22,7 +22,7 @@ export const DecisionSupportFilePage: FunctionComponent
- + { + isAuthorized ? + : + null + }