mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-15 22:13:00 +00:00
Omit service if it is not OK to display
This commit is contained in:
@@ -1188,6 +1188,8 @@ class BaseHandler(RequestHandler):
|
||||
for service in self.services.values():
|
||||
if not service.url:
|
||||
continue
|
||||
if not service.display:
|
||||
continue
|
||||
accessible_services.append(service)
|
||||
return accessible_services
|
||||
|
||||
|
Reference in New Issue
Block a user