diff --git a/src/components/Konnector/KonnectorViewerCard.tsx b/src/components/Konnector/KonnectorViewerCard.tsx index 43b7e6e2607bc47da4c431ced44b96619444005c..a1c80c2076e759a061d4f7d3aa89f9bc4d12a82f 100644 --- a/src/components/Konnector/KonnectorViewerCard.tsx +++ b/src/components/Konnector/KonnectorViewerCard.tsx @@ -100,6 +100,7 @@ const KonnectorViewerCard = ({ /** Derived value from store. */ const isDisconnected = !showOfflineData + /** If waiting for GRDF consent, do not show anything from KonnectorViewerCard */ const isGRDFWaitingForConsent = fluidType === FluidType.GAS && currentFluidStatus.status === FluidState.CHALLENGE_ASKED @@ -477,6 +478,8 @@ const KonnectorViewerCard = ({ trigger, ]) + if (isGRDFWaitingForConsent) return + return ( <div className="konnector-section-root"> {isDisconnected &&