perf: Asset type cloud add community version (#13640)

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot
2024-07-09 10:59:56 +08:00
committed by GitHub
parent b8c223d525
commit 443e492fd4

View File

@@ -171,10 +171,10 @@ class AllTypes(ChoicesMixin):
(Category.DEVICE, DeviceTypes),
(Category.DATABASE, DatabaseTypes),
(Category.WEB, WebTypes),
(Category.CLOUD, CloudTypes),
]
if settings.XPACK_ENABLED:
types.extend([
(Category.CLOUD, CloudTypes),
(Category.CUSTOM, CustomTypes),
])
return types