Skip to content

Commit 7d3fb3b

Browse files
committed
UI: retain traffic labels during zone deployment
1 parent 5dfeb79 commit 7d3fb3b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,9 @@ export default {
414414
if (this.hypervisor === 'VMware') {
415415
delete this.physicalNetworks[idx].traffics[index].label
416416
} else {
417-
this.physicalNetworks[idx].traffics[index].label = ''
417+
if (!net.traffics[index].label) {
418+
this.physicalNetworks[idx].traffics[index].label = ''
419+
}
418420
}
419421
const traffic = net.traffics[index]
420422
if (traffic.type === 'storage') {

0 commit comments

Comments
 (0)