[pve-devel] [PATCH manager 3/6] ui: cluster task log: eslint fixes

Fabian Ebner f.ebner at proxmox.com
Fri Mar 12 13:53:26 CET 2021


Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
 www/manager6/dc/Tasks.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/www/manager6/dc/Tasks.js b/www/manager6/dc/Tasks.js
index c244bd2e..c5075dc3 100644
--- a/www/manager6/dc/Tasks.js
+++ b/www/manager6/dc/Tasks.js
@@ -82,9 +82,9 @@ Ext.define('PVE.dc.Tasks', {
 		    width: 150,
 		    renderer: function(value, metaData, record) {
 			if (record.data.pid) {
-			    if (record.data.type == "vncproxy" ||
-				record.data.type == "vncshell" ||
-				record.data.type == "spiceproxy") {
+			    if (record.data.type === "vncproxy" ||
+				record.data.type === "vncshell" ||
+				record.data.type === "spiceproxy") {
 				metaData.tdCls = "x-grid-row-console";
 			    } else {
 				metaData.tdCls = "x-grid-row-loading";
@@ -117,7 +117,7 @@ Ext.define('PVE.dc.Tasks', {
 		    width: 200,
 		    renderer: function(value, metaData, record) {
 			if (record.data.pid) {
-			    if (record.data.type != "vncproxy") {
+			    if (record.data.type !== "vncproxy") {
 				metaData.tdCls = "x-grid-row-loading";
 			    }
 			    return "";
-- 
2.20.1






More information about the pve-devel mailing list