Browse Source

perf: Community supports custom platforms (#13719)

Co-authored-by: feng <1304903146@qq.com>
pull/13721/head
fit2bot 4 months ago committed by GitHub
parent
commit
13b1938efb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      apps/assets/const/types.py

5
apps/assets/const/types.py

@ -172,11 +172,8 @@ class AllTypes(ChoicesMixin):
(Category.DATABASE, DatabaseTypes),
(Category.WEB, WebTypes),
(Category.CLOUD, CloudTypes),
(Category.CUSTOM, CustomTypes)
]
if settings.XPACK_ENABLED:
types.extend([
(Category.CUSTOM, CustomTypes),
])
return types
@classmethod

Loading…
Cancel
Save