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 <[email protected]>
---
 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



_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to