From cde4ab2fef12f447d7101f78fecc7cd1e2d764e0 Mon Sep 17 00:00:00 2001 From: zandercymatics <141044360+zandercymatics@users.noreply.github.com> Date: Fri, 12 Jan 2024 10:39:01 -0700 Subject: [PATCH] Remove old check --- src/registrar/views/index.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/registrar/views/index.py b/src/registrar/views/index.py index 44345e72f..bcff0affd 100644 --- a/src/registrar/views/index.py +++ b/src/registrar/views/index.py @@ -12,11 +12,6 @@ def index(request): # domain_applications context will be used to populate # the active applications table applications = DomainApplication.objects.filter(creator=request.user).exclude(status="approved") - - # Adds display logic for empty domain requests - for application in applications: - if not application.requested_domain.name: - application.requested_domain.name = application.requested_domain.draft_name # Pass the final context to the application context["domain_applications"] = applications