diff --git a/app/Http/Controllers/WineController.php b/app/Http/Controllers/WineController.php index 03cc7985..ac33fca8 100644 --- a/app/Http/Controllers/WineController.php +++ b/app/Http/Controllers/WineController.php @@ -131,7 +131,7 @@ public function index(Competition $competition) { 'edit_chosen' => $competition->competitionState->id === CompetitionState::STATE_CHOOSE, 'show_complete_choosing' => $competition->competitionState->id === CompetitionState::STATE_CHOOSE, 'show_import_catalogue_numbers' => $competition->competitionState->id === CompetitionState::STATE_CATALOGUE_NUMBERS, - 'show_complete_catalogue_numbers' => $competition->competitionState->id >= CompetitionState::STATE_CATALOGUE_NUMBERS && $this->tastingCatalogueHandler->allWinesHaveBeenAssigned($competition), + 'show_complete_catalogue_numbers' => $competition->competitionState->id === CompetitionState::STATE_CATALOGUE_NUMBERS && $this->tastingCatalogueHandler->allWinesHaveBeenAssigned($competition), 'export_flaws' => $competition->competitionState->id >= CompetitionState::STATE_KDB, 'show_enrollment_pdf_export' => $competition->competitionState->is(CompetitionState::STATE_ENROLLMENT), ]);