mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 02:37:24 +08:00
Merge pull request #12965 from ioito/hotfix/qx-disabled-brands-empty-array
fix(region): show empty array disabled brands
This commit is contained in:
@@ -367,6 +367,7 @@ func getBrands(region *SCloudregion, zone *SZone, domainId string, capa *SCapabi
|
||||
|
||||
capa.NetworkManageBrands = append(capa.NetworkManageBrands, api.ONECLOUD_BRAND_ONECLOUD)
|
||||
|
||||
capa.DisabledBrands = []string{}
|
||||
var appendBrand = func(enabled *[]string, disabled *[]string, readOnlyEnabled *[]string, readOnlyDisabled *[]string, brand, capability string, isEnable, readOnly bool) {
|
||||
if readOnly {
|
||||
if isEnable {
|
||||
|
||||
Reference in New Issue
Block a user