[pve-devel] [PATCH pve-manager] sdn: zone: fix edit for dns zone

Stefan Hanreich s.hanreich at proxmox.com
Wed Nov 22 19:05:36 CET 2023


Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
---
 www/manager6/sdn/zones/Base.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/sdn/zones/Base.js b/www/manager6/sdn/zones/Base.js
index db9b47b18..cabb7d21a 100644
--- a/www/manager6/sdn/zones/Base.js
+++ b/www/manager6/sdn/zones/Base.js
@@ -78,6 +78,7 @@ Ext.define('PVE.panel.SDNZoneBase', {
 		skipEmptyText: true,
 		fieldLabel: gettext('DNS Zone'),
 		allowBlank: true,
+		deleteEmpty: !me.isCreate,
 	    },
 	);
 
-- 
2.39.2





More information about the pve-devel mailing list