From 167cd17d7c39d0529f076a33d4a59c2e08c9cb1b Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Fri, 5 Aug 2022 10:42:13 +0530 Subject: [PATCH] ui: fix hypervisortrafficlabel for phy nw traffic (#6612) Fixes: #6593 Before fix UI was setting vlan to 'null' when no value was passed. Now it just leaves the vlan value empty in the trafficlabel. Signed-off-by: Abhishek Kumar --- ui/src/views/infra/zone/ZoneWizardLaunchZone.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/views/infra/zone/ZoneWizardLaunchZone.vue b/ui/src/views/infra/zone/ZoneWizardLaunchZone.vue index 7f23c3b643a..1fd8e49abf8 100644 --- a/ui/src/views/infra/zone/ZoneWizardLaunchZone.vue +++ b/ui/src/views/infra/zone/ZoneWizardLaunchZone.vue @@ -248,7 +248,7 @@ export default { if (trafficLabel.length > 0) { trafficLabel += ',' } - trafficLabel += trafficConfig.vlanId + trafficLabel += trafficConfig.vlanId || '' } if ('vSwitchType' in trafficConfig) { if (trafficLabel.length > 0) {