[pve-devel] [PATCH manager] ui: ha/ressources: fix toggling edit button on selection

Aaron Lauterer a.lauterer at proxmox.com
Wed Jul 7 13:36:34 CEST 2021


It needs to be a 'proxmoxButton' to get activated when selecting a HA
ressource. This was lost during the last code cleanup, commit a69e943.

Signed-off-by: Aaron Lauterer <a.lauterer at proxmox.com>
---
 www/manager6/ha/Resources.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/manager6/ha/Resources.js b/www/manager6/ha/Resources.js
index b13484c0..edfadde2 100644
--- a/www/manager6/ha/Resources.js
+++ b/www/manager6/ha/Resources.js
@@ -67,6 +67,7 @@ Ext.define('PVE.ha.ResourcesView', {
 		    },
 		},
 		{
+		    xtype: 'proxmoxButton',
 		    text: gettext('Edit'),
 		    disabled: true,
 		    selModel: sm,
-- 
2.30.2






More information about the pve-devel mailing list