mirror of https://github.com/jumpserver/jumpserver
perf: Community supports custom platforms (#13719)
Co-authored-by: feng <1304903146@qq.com>pull/13721/head
parent
6677985e4a
commit
13b1938efb
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue