mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-29 21:51:31 +00:00
perf: Asset type cloud add community version (#13640)
Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user