ui: sdn: zone evpn: delete exitnodes-primary if empty
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
parent
c945aaef85
commit
3076eb94f1
@ -28,6 +28,10 @@ Ext.define('PVE.sdn.zones.EvpnInputPanel', {
|
||||
delete values['disable-arp-nd-suppression'];
|
||||
}
|
||||
|
||||
if (values['exitnodes-primary'] === '') {
|
||||
delete values['exitnodes-primary'];
|
||||
}
|
||||
|
||||
return values;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user