mirror of https://github.com/jumpserver/jumpserver
perf: Community supports custom platforms (#13720)
Co-authored-by: feng <1304903146@qq.com>pull/13724/head
parent
e0f20ce047
commit
84821e97f4
|
@ -171,12 +171,9 @@ class AllTypes(ChoicesMixin):
|
||||||
(Category.DEVICE, DeviceTypes),
|
(Category.DEVICE, DeviceTypes),
|
||||||
(Category.DATABASE, DatabaseTypes),
|
(Category.DATABASE, DatabaseTypes),
|
||||||
(Category.WEB, WebTypes),
|
(Category.WEB, WebTypes),
|
||||||
|
(Category.CLOUD, CloudTypes),
|
||||||
|
(Category.CUSTOM, CustomTypes),
|
||||||
]
|
]
|
||||||
if settings.XPACK_ENABLED:
|
|
||||||
types.extend([
|
|
||||||
(Category.CLOUD, CloudTypes),
|
|
||||||
(Category.CUSTOM, CustomTypes),
|
|
||||||
])
|
|
||||||
return types
|
return types
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Loading…
Reference in New Issue