From 045ff90baa1250093ebf9f1eb629397d13f1f6c8 Mon Sep 17 00:00:00 2001
From: Bastien Dumont <bdumont@grandlyon.com>
Date: Thu, 28 Mar 2024 16:55:37 +0100
Subject: [PATCH] fix modal not showing

---
 src/components/Consumption/ConsumptionView.tsx   | 2 ++
 src/components/Konnector/KonnectorViewerCard.tsx | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/components/Consumption/ConsumptionView.tsx b/src/components/Consumption/ConsumptionView.tsx
index 94b352da2..3e3be1aa9 100644
--- a/src/components/Consumption/ConsumptionView.tsx
+++ b/src/components/Consumption/ConsumptionView.tsx
@@ -279,6 +279,8 @@ const ConsumptionView = ({ fluidType }: { fluidType: FluidType }) => {
             toggleModal={() => setOpenExpiredConsentModal(prev => !prev)}
           />
         ))}
+
+      {/* GRDF Waiting screen */}
     </>
   )
 }
diff --git a/src/components/Konnector/KonnectorViewerCard.tsx b/src/components/Konnector/KonnectorViewerCard.tsx
index a1c80c207..1887e411a 100644
--- a/src/components/Konnector/KonnectorViewerCard.tsx
+++ b/src/components/Konnector/KonnectorViewerCard.tsx
@@ -478,7 +478,7 @@ const KonnectorViewerCard = ({
     trigger,
   ])
 
-  if (isGRDFWaitingForConsent) return
+  // if (isGRDFWaitingForConsent) return
 
   return (
     <div className="konnector-section-root">
-- 
GitLab