We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 182d2fd commit f8dd5deCopy full SHA for f8dd5de
ui/src/config/section/network.js
@@ -134,9 +134,9 @@ export default {
134
if (!store.getters.zones || store.getters.zones.length === 0) {
135
return false
136
}
137
- const AdvancedZones = store.getters.zones.filter(zone => zone.networktype === 'Advanced')
+ // const AdvancedZones = store.getters.zones.filter(zone => zone.networktype === 'Advanced')
138
const AdvancedZonesWithoutSG = store.getters.zones.filter(zone => zone.securitygroupsenabled === false)
139
- if ((isAdmin() && AdvancedZones && AdvancedZones.length > 0) || (AdvancedZonesWithoutSG && AdvancedZonesWithoutSG.length > 0)) {
+ if (isAdmin() || (AdvancedZonesWithoutSG && AdvancedZonesWithoutSG.length > 0)) {
140
return true
141
142
0 commit comments