mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-13 21:19:42 +02:00
minor bug fixes
This commit is contained in:
parent
13146aaa3e
commit
f73158eeb0
2 changed files with 4 additions and 6 deletions
|
@ -180,9 +180,9 @@ class EOPContactForm(BaseDeletableRegistrarForm):
|
||||||
if not obj.eop_contact:
|
if not obj.eop_contact:
|
||||||
return {}
|
return {}
|
||||||
return {
|
return {
|
||||||
"first_name": obj.feb_eop_contact.first_name,
|
"first_name": obj.eop_contact.first_name,
|
||||||
"last_name": obj.feb_eop_contact.last_name,
|
"last_name": obj.eop_contact.last_name,
|
||||||
"email": obj.feb_eop_contact.email,
|
"email": obj.eop_contact.email,
|
||||||
}
|
}
|
||||||
|
|
||||||
def to_database(self, obj):
|
def to_database(self, obj):
|
||||||
|
|
|
@ -183,9 +183,7 @@ class DomainRequestWizard(TemplateView):
|
||||||
return PortfolioDomainRequestStep if self.is_portfolio else Step
|
return PortfolioDomainRequestStep if self.is_portfolio else Step
|
||||||
|
|
||||||
def requires_feb_questions(self) -> bool:
|
def requires_feb_questions(self) -> bool:
|
||||||
# TODO: remove this
|
return self.domain_request.is_feb() and flag_is_active_for_user(self.request.user, "organization_feature")
|
||||||
return True
|
|
||||||
# return self.domain_request.is_feb() and flag_is_active_for_user(self.request.user, "organization_feature")
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def prefix(self):
|
def prefix(self):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue