Signed-off-by: Fabian Ebner <f.eb...@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



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to