mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 08:44:23 -04:00
Only show live services without an organisation
In reality we shouldn’t have any live services that don’t have an organisation. But we probably do locally, in preview, etc., and we shouldn’t lose a way of accessing them.
This commit is contained in:
@@ -18,11 +18,8 @@ def services_or_dashboard():
|
||||
@main.route("/accounts")
|
||||
@login_required
|
||||
def choose_account():
|
||||
orgs_and_services = current_user.orgs_and_services
|
||||
|
||||
return render_template(
|
||||
'views/choose-account.html',
|
||||
services_without_organisations=orgs_and_services['services_without_organisations'],
|
||||
can_add_service=current_user.is_gov_user,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user