From 84821e97f44b2b16506aa7a228ca13dcebb0b8e1 Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Mon, 15 Jul 2024 17:32:03 +0800 Subject: [PATCH] perf: Community supports custom platforms (#13720) Co-authored-by: feng <1304903146@qq.com> --- apps/assets/const/types.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/apps/assets/const/types.py b/apps/assets/const/types.py index b03f22d12..7c7ce2dee 100644 --- a/apps/assets/const/types.py +++ b/apps/assets/const/types.py @@ -171,12 +171,9 @@ class AllTypes(ChoicesMixin): (Category.DEVICE, DeviceTypes), (Category.DATABASE, DatabaseTypes), (Category.WEB, WebTypes), + (Category.CLOUD, CloudTypes), + (Category.CUSTOM, CustomTypes), ] - if settings.XPACK_ENABLED: - types.extend([ - (Category.CLOUD, CloudTypes), - (Category.CUSTOM, CustomTypes), - ]) return types @classmethod