Browse Source

perf: Asset type cloud add community version (#13640)

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

2
apps/assets/const/types.py

@ -171,10 +171,10 @@ class AllTypes(ChoicesMixin):
(Category.DEVICE, DeviceTypes), (Category.DEVICE, DeviceTypes),
(Category.DATABASE, DatabaseTypes), (Category.DATABASE, DatabaseTypes),
(Category.WEB, WebTypes), (Category.WEB, WebTypes),
(Category.CLOUD, CloudTypes),
] ]
if settings.XPACK_ENABLED: if settings.XPACK_ENABLED:
types.extend([ types.extend([
(Category.CLOUD, CloudTypes),
(Category.CUSTOM, CustomTypes), (Category.CUSTOM, CustomTypes),
]) ])
return types return types

Loading…
Cancel
Save