mirror of https://github.com/apache/cloudstack.git
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 <abhishek.mrt22@gmail.com>
This commit is contained in:
parent
7d50b65674
commit
167cd17d7c
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue