]> git.proxmox.com Git - pmg-gui.git/blobdiff - js/ObjectGroupConfiguration.js
objects: use font-weight for bold text
[pmg-gui.git] / js / ObjectGroupConfiguration.js
index eb80032dae953f3480622cea5428da8f1249a859..d22c60da48185b86d4fe3a540531a01e9fb00c5f 100644 (file)
@@ -41,7 +41,12 @@ Ext.define('PMG.ObjectGroupConfiguration', {
                        left.run_editor();
                    }
                },
-               modeUpdate: () => left.reload(),
+               modeUpdate: (_cmp, and, invert) => {
+                   let rec = left.selModel.getSelection()[0];
+                   rec.set('and', and);
+                   rec.set('invert', invert);
+                   rec.commit();
+               },
            },
        });