From c38ce8b0c2b3d2fb1cc4ba42f30234c9f2e805e1 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Thu, 4 Aug 2022 15:02:15 +0530 Subject: [PATCH] ui: fix hypervisortrafficlabel for phy nw traffic 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 7f23c3b643ad..1fd8e49abf80 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) {