mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 06:46:24 +00:00
perf: Community supports custom platforms (#13719)
Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
@@ -172,11 +172,8 @@ class AllTypes(ChoicesMixin):
|
|||||||
(Category.DATABASE, DatabaseTypes),
|
(Category.DATABASE, DatabaseTypes),
|
||||||
(Category.WEB, WebTypes),
|
(Category.WEB, WebTypes),
|
||||||
(Category.CLOUD, CloudTypes),
|
(Category.CLOUD, CloudTypes),
|
||||||
|
(Category.CUSTOM, CustomTypes)
|
||||||
]
|
]
|
||||||
if settings.XPACK_ENABLED:
|
|
||||||
types.extend([
|
|
||||||
(Category.CUSTOM, CustomTypes),
|
|
||||||
])
|
|
||||||
return types
|
return types
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Reference in New Issue
Block a user