[pve-devel] [PATCH manager 1/1] ui: ha: rules: make status icon unclickable if there are no errors

Michael Köppl m.koeppl at proxmox.com
Fri Sep 19 17:29:01 CEST 2025


The check icon should not be clickable since it is misleading if
clicking it triggers no action, so add a class to the element that
disables pointer events if there is no error.

Signed-off-by: Michael Köppl <m.koeppl at 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 b2c510d69..1b4fc7148 100644
--- a/www/manager6/ha/Rules.js
+++ b/www/manager6/ha/Rules.js
@@ -148,7 +148,7 @@ Ext.define('PVE.ha.RulesBaseView', {
                             getClass: (value) =>
                                 Object.keys(value ?? {}).length
                                     ? 'fa fa-exclamation-triangle'
-                                    : 'fa fa-check',
+                                    : 'fa fa-check pmx-unclickable',
                         },
                     ],
                 },
-- 
2.47.3





More information about the pve-devel mailing list