mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-16 06:22:59 +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():
|
for service in self.services.values():
|
||||||
if not service.url:
|
if not service.url:
|
||||||
continue
|
continue
|
||||||
|
if not service.display:
|
||||||
|
continue
|
||||||
accessible_services.append(service)
|
accessible_services.append(service)
|
||||||
return accessible_services
|
return accessible_services
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user