fix: 应用树隐藏mongodb节点

This commit is contained in:
Jiangjie.Bai
2022-03-18 17:58:54 +08:00
committed by Jiangjie.Bai
parent d3d18b8f48
commit f6dada03bf

View File

@@ -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)