[pmg-devel] [PATCH pmg-gui v3 3/3] fix #2709: rules: match-field: add top-level-only checkbox

Stoiko Ivanov s.ivanov at proxmox.com
Wed Feb 19 13:18:50 CET 2025


Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
---
 js/Utils.js | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/js/Utils.js b/js/Utils.js
index 257226d..2dcf392 100644
--- a/js/Utils.js
+++ b/js/Utils.js
@@ -376,6 +376,12 @@ Ext.define('PMG.Utils', {
 		    fieldLabel: gettext('Test String'),
 		    regexFieldReference: 'value',
 		},
+		{
+		    xtype: 'proxmoxcheckbox',
+		    name: 'top-part-only',
+		    fieldLabel: gettext("Only top level headers"),
+		    uncheckedValue: '0',
+		},
 	    ],
 	},
 	3003: {
-- 
2.39.5





More information about the pmg-devel mailing list