From c3f84df0634913afaa914d09c8486fb7f7117ddf Mon Sep 17 00:00:00 2001 From: Tudor Amariei Date: Sun, 17 Nov 2024 16:05:57 +0200 Subject: [PATCH] Display candidates until results are published --- backend/hub/views.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/hub/views.py b/backend/hub/views.py index e22067da..239d8a34 100644 --- a/backend/hub/views.py +++ b/backend/hub/views.py @@ -570,9 +570,7 @@ def get_context_data(self, **kwargs): context["current_search"] = self.request.GET.get("q", "") context["should_display_candidates"] = False - if FeatureFlag.flag_enabled(FLAG_CHOICES.enable_candidate_voting) or FeatureFlag.flag_enabled( - FLAG_CHOICES.enable_candidate_supporting - ): + if not FeatureFlag.flag_enabled(FLAG_CHOICES.enable_results_display): context["should_display_candidates"] = True current_domain = self.request.GET.get("domain")