Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
fix: disable statistics when cancellation date is due (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
ascheibal authored Feb 13, 2023
1 parent 3626939 commit 49785f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/LandingPage/landing-page.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
/>

<LandingButton
Expand Down

0 comments on commit 49785f0

Please sign in to comment.