fix: 应用树隐藏mongodb节点

pull/7939/head
Jiangjie.Bai 2022-03-18 17:58:54 +08:00 committed by Jiangjie.Bai
parent d3d18b8f48
commit f6dada03bf
1 changed files with 3 additions and 0 deletions

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)