mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 15:11:27 +00:00
fix: 应用树隐藏mongodb节点
This commit is contained in:
committed by
Jiangjie.Bai
parent
5da1ec55a7
commit
60edbb36a1
@@ -100,6 +100,9 @@ class ApplicationTreeNodeMixin:
|
||||
type_category_mapper = const.AppType.type_category_mapper()
|
||||
types = const.AppType.type_category_mapper().keys()
|
||||
for tp in types:
|
||||
# TODO: Temporary exclude mongodb
|
||||
if tp == const.AppType.mongodb:
|
||||
continue
|
||||
if not settings.XPACK_ENABLED and const.AppType.is_xpack(tp):
|
||||
continue
|
||||
category = type_category_mapper.get(tp)
|
||||
|
Reference in New Issue
Block a user