Skip to content

Commit 9fd28b5

Browse files
committed
commit suggestion
1 parent 1d996fb commit 9fd28b5

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

ui/src/views/infra/zone/ZoneWizardPhysicalNetworkSetupStep.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -413,10 +413,8 @@ export default {
413413
for (const index in net.traffics) {
414414
if (this.hypervisor === 'VMware') {
415415
delete this.physicalNetworks[idx].traffics[index].label
416-
} else {
417-
if (!net.traffics[index].label) {
418-
this.physicalNetworks[idx].traffics[index].label = ''
419-
}
416+
} else if (!net.traffics[index].label) {
417+
this.physicalNetworks[idx].traffics[index].label = ''
420418
}
421419
const traffic = net.traffics[index]
422420
if (traffic.type === 'storage') {

0 commit comments

Comments
 (0)