Skip to content

Commit f8dd5de

Browse files
committed
존구성후 네트워크 생성 버튼 안보이는 이슈 수정
1 parent 182d2fd commit f8dd5de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/config/section/network.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ export default {
134134
if (!store.getters.zones || store.getters.zones.length === 0) {
135135
return false
136136
}
137-
const AdvancedZones = store.getters.zones.filter(zone => zone.networktype === 'Advanced')
137+
// const AdvancedZones = store.getters.zones.filter(zone => zone.networktype === 'Advanced')
138138
const AdvancedZonesWithoutSG = store.getters.zones.filter(zone => zone.securitygroupsenabled === false)
139-
if ((isAdmin() && AdvancedZones && AdvancedZones.length > 0) || (AdvancedZonesWithoutSG && AdvancedZonesWithoutSG.length > 0)) {
139+
if (isAdmin() || (AdvancedZonesWithoutSG && AdvancedZonesWithoutSG.length > 0)) {
140140
return true
141141
}
142142
return false

0 commit comments

Comments
 (0)