mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 05:52:32 +00:00
ui: cluster task log: eslint fixes
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
bc33c73963
commit
7c5f30bcd5
@ -82,9 +82,9 @@ Ext.define('PVE.dc.Tasks', {
|
|||||||
width: 150,
|
width: 150,
|
||||||
renderer: function(value, metaData, record) {
|
renderer: function(value, metaData, record) {
|
||||||
if (record.data.pid) {
|
if (record.data.pid) {
|
||||||
if (record.data.type == "vncproxy" ||
|
if (record.data.type === "vncproxy" ||
|
||||||
record.data.type == "vncshell" ||
|
record.data.type === "vncshell" ||
|
||||||
record.data.type == "spiceproxy") {
|
record.data.type === "spiceproxy") {
|
||||||
metaData.tdCls = "x-grid-row-console";
|
metaData.tdCls = "x-grid-row-console";
|
||||||
} else {
|
} else {
|
||||||
metaData.tdCls = "x-grid-row-loading";
|
metaData.tdCls = "x-grid-row-loading";
|
||||||
@ -117,7 +117,7 @@ Ext.define('PVE.dc.Tasks', {
|
|||||||
width: 200,
|
width: 200,
|
||||||
renderer: function(value, metaData, record) {
|
renderer: function(value, metaData, record) {
|
||||||
if (record.data.pid) {
|
if (record.data.pid) {
|
||||||
if (record.data.type != "vncproxy") {
|
if (record.data.type !== "vncproxy") {
|
||||||
metaData.tdCls = "x-grid-row-loading";
|
metaData.tdCls = "x-grid-row-loading";
|
||||||
}
|
}
|
||||||
return "";
|
return "";
|
||||||
|
Loading…
Reference in New Issue
Block a user