From 49785f02c136980d7ee2930ee87cf8e03f8a799d Mon Sep 17 00:00:00 2001 From: Andreas Scheibal Date: Mon, 13 Feb 2023 09:25:17 +0100 Subject: [PATCH] fix: disable statistics when cancellation date is due (#333) --- src/components/LandingPage/landing-page.component.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/LandingPage/landing-page.component.tsx b/src/components/LandingPage/landing-page.component.tsx index 9a1766a..422c808 100644 --- a/src/components/LandingPage/landing-page.component.tsx +++ b/src/components/LandingPage/landing-page.component.tsx @@ -110,6 +110,7 @@ const LandingPage = (props: any) => { hasRole={utils.hasRole(keycloak, 'c19_quick_test_lab')} title={t('translation:statistics-menu-item')} onClick={navigation.toStatistics} + disabled={cancellationStep >= CancellationSteps.DOWNLOAD_REQUESTED} />