minor bug fixes

This commit is contained in:
matthewswspence 2025-03-12 16:44:03 -05:00
parent 13146aaa3e
commit f73158eeb0
No known key found for this signature in database
GPG key ID: FB458202A7852BA4
2 changed files with 4 additions and 6 deletions

View file

@ -180,9 +180,9 @@ class EOPContactForm(BaseDeletableRegistrarForm):
if not obj.eop_contact:
return {}
return {
"first_name": obj.feb_eop_contact.first_name,
"last_name": obj.feb_eop_contact.last_name,
"email": obj.feb_eop_contact.email,
"first_name": obj.eop_contact.first_name,
"last_name": obj.eop_contact.last_name,
"email": obj.eop_contact.email,
}
def to_database(self, obj):

View file

@ -183,9 +183,7 @@ class DomainRequestWizard(TemplateView):
return PortfolioDomainRequestStep if self.is_portfolio else Step
def requires_feb_questions(self) -> bool:
# TODO: remove this
return True
# return self.domain_request.is_feb() and flag_is_active_for_user(self.request.user, "organization_feature")
return self.domain_request.is_feb() and flag_is_active_for_user(self.request.user, "organization_feature")
@property
def prefix(self):