As reported in the community forum [0], the 'Edit' button would stay disabled. Use a proxmoxButton to fix it, which installs a monitor for selectionchange.
[0]: https://forum.proxmox.com/threads/169258/post-792029 Fixes: fb289b0d ("ha: affinity rules: make edit/remove button declrative configs") Signed-off-by: Fiona Ebner <f.eb...@proxmox.com> --- www/manager6/ha/Rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/manager6/ha/Rules.js b/www/manager6/ha/Rules.js index 35efdabe..b2c510d6 100644 --- a/www/manager6/ha/Rules.js +++ b/www/manager6/ha/Rules.js @@ -96,7 +96,7 @@ Ext.define('PVE.ha.RulesBaseView', { handler: () => createRuleEditWindow(), }, { - xtype: 'button', + xtype: 'proxmoxButton', text: gettext('Edit'), disabled: true, selModel: sm, -- 2.47.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel