Signed-off-by: Alexandre Derumier <aderum...@odiso.com> --- www/manager6/Utils.js | 3 ++- www/manager6/sdn/SubnetEdit.js | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js index 8c939536..5440b972 100644 --- a/www/manager6/Utils.js +++ b/www/manager6/Utils.js @@ -809,7 +809,8 @@ Ext.define('PVE.Utils', { utilities: { pve: { name: 'PVE', ipanel: 'PVEIpamInputPanel', - faIcon: 'th' + faIcon: 'th', + hideAdd: true }, netbox: { name: 'Netbox', diff --git a/www/manager6/sdn/SubnetEdit.js b/www/manager6/sdn/SubnetEdit.js index d8c61dd6..653c8ae5 100644 --- a/www/manager6/sdn/SubnetEdit.js +++ b/www/manager6/sdn/SubnetEdit.js @@ -46,12 +46,14 @@ Ext.define('PVE.sdn.SubnetInputPanel', { checked: false, fieldLabel: 'SNAT' }, + ], + advancedItems: [ { xtype: 'pveSDNIpamSelector', fieldLabel: gettext('Ipam'), name: 'ipam', - value: '', - allowBlank: true, + value: 'pve', + allowBlank: false, }, { xtype: 'pveSDNDnsSelector', -- 2.20.1 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel