[pve-devel] [PATCH manager] ui: ceph/Status: fix icon in status grid

Dominik Csapak d.csapak at proxmox.com
Thu May 27 13:42:48 CEST 2021


there was a spurious leftover single quote("'"), that prevented
the correct css class to be inserted
(e.g., fa-exclamation' instead of fa-exclamation)

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/ceph/Status.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/ceph/Status.js b/www/manager6/ceph/Status.js
index cd6d002b..e92c698b 100644
--- a/www/manager6/ceph/Status.js
+++ b/www/manager6/ceph/Status.js
@@ -86,7 +86,7 @@ Ext.define('PVE.node.CephStatus', {
 			    renderer: function(value) {
 				let health = PVE.Utils.map_ceph_health[value];
 				let icon = PVE.Utils.get_health_icon(health);
-				return `<i class="fa fa-fw ${icon}'"></i>`;
+				return `<i class="fa fa-fw ${icon}"></i>`;
 			    },
 			    sorter: {
 				sorterFn: function(a, b) {
-- 
2.20.1






More information about the pve-devel mailing list