* [pve-devel] [PATCH pve-manager 0/1] sdn: zone evpn: delete exitnodes-primary if empty
@ 2022-04-20 14:19 Alexandre Derumier
2022-04-20 14:19 ` [pve-devel] [PATCH pve-manager 1/1] ui: " Alexandre Derumier
0 siblings, 1 reply; 3+ messages in thread
From: Alexandre Derumier @ 2022-04-20 14:19 UTC (permalink / raw)
To: pve-devel
Currently, we can't submit form with empty exitnodes-primary value.
Alexandre Derumier (1):
ui: sdn: zone evpn: delete exitnodes-primary if empty
www/manager6/sdn/zones/EvpnEdit.js | 4 ++++
1 file changed, 4 insertions(+)
--
2.30.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* [pve-devel] [PATCH pve-manager 1/1] ui: sdn: zone evpn: delete exitnodes-primary if empty
2022-04-20 14:19 [pve-devel] [PATCH pve-manager 0/1] sdn: zone evpn: delete exitnodes-primary if empty Alexandre Derumier
@ 2022-04-20 14:19 ` Alexandre Derumier
2022-04-27 8:35 ` [pve-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 3+ messages in thread
From: Alexandre Derumier @ 2022-04-20 14:19 UTC (permalink / raw)
To: pve-devel
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
---
www/manager6/sdn/zones/EvpnEdit.js | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/www/manager6/sdn/zones/EvpnEdit.js b/www/manager6/sdn/zones/EvpnEdit.js
index 0ac40fc5..f1314ad5 100644
--- a/www/manager6/sdn/zones/EvpnEdit.js
+++ b/www/manager6/sdn/zones/EvpnEdit.js
@@ -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;
},
--
2.30.2
^ permalink raw reply [flat|nested] 3+ messages in thread
* [pve-devel] applied: [PATCH pve-manager 1/1] ui: sdn: zone evpn: delete exitnodes-primary if empty
2022-04-20 14:19 ` [pve-devel] [PATCH pve-manager 1/1] ui: " Alexandre Derumier
@ 2022-04-27 8:35 ` Thomas Lamprecht
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Lamprecht @ 2022-04-27 8:35 UTC (permalink / raw)
To: Proxmox VE development discussion, Alexandre Derumier
On 20.04.22 16:19, Alexandre Derumier wrote:
> Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
> ---
> www/manager6/sdn/zones/EvpnEdit.js | 4 ++++
> 1 file changed, 4 insertions(+)
>
>
applied, thanks!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-04-27 8:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-20 14:19 [pve-devel] [PATCH pve-manager 0/1] sdn: zone evpn: delete exitnodes-primary if empty Alexandre Derumier
2022-04-20 14:19 ` [pve-devel] [PATCH pve-manager 1/1] ui: " Alexandre Derumier
2022-04-27 8:35 ` [pve-devel] applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox