Skip to content

Commit

Permalink
Merge pull request #213 from UKGovernmentBEIS/PC-494-remove-esb-from-…
Browse files Browse the repository at this point in the history
…portal

PC-494: Hide ESB from portal supplier list
  • Loading branch information
LadunOmideyiSoftwire authored Sep 21, 2023
2 parents f200fbb + 5e508db commit 87af01f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion help_to_heat/portal/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def homepage_view(request):
@decorators.requires_service_manager
def service_manager_homepage_view(request):
template = "portal/service-manager/homepage.html"
suppliers_to_hide = ["Bulb, now part of Octopus Energy"]
suppliers_to_hide = ["Bulb, now part of Octopus Energy", "ESB"]
suppliers = [supplier for supplier in models.Supplier.objects.all() if supplier.name not in suppliers_to_hide]
suppliers.sort(key=lambda supplier: supplier.name)
data = {
Expand Down

0 comments on commit 87af01f

Please sign in to comment.