mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 17:45:32 -04:00
switch to team preference for no default org type selection
This commit is contained in:
@@ -47,7 +47,9 @@ def _create_example_template(service_id):
|
|||||||
def add_service():
|
def add_service():
|
||||||
default_organisation_type = current_user.default_organisation_type
|
default_organisation_type = current_user.default_organisation_type
|
||||||
form = CreateServiceForm(
|
form = CreateServiceForm(
|
||||||
organisation_type="federal"
|
# avoid setting a default for now; the US gov email addresses aren't as useful as the UK
|
||||||
|
# ones for guessing the org type
|
||||||
|
organisation_type=None
|
||||||
)
|
)
|
||||||
|
|
||||||
if form.validate_on_submit():
|
if form.validate_on_submit():
|
||||||
|
|||||||
Reference in New Issue
Block a user