ui: cluster task log: eslint fixes

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fabian Ebner 2021-03-12 13:53:26 +01:00 committed by Dominik Csapak
parent e0c5ec565d
commit 539a269bfd

View File

@ -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 "";