From 5847101aa60e8b2e8640bdff914a15df4272358e Mon Sep 17 00:00:00 2001 From: Erwin Dondorp Date: Sun, 7 Feb 2021 02:41:26 +0100 Subject: [PATCH] solved some eslint issues --- saltgui/static/scripts/panels/Minions.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/saltgui/static/scripts/panels/Minions.js b/saltgui/static/scripts/panels/Minions.js index 94dc99cd8..14e6b1b2c 100644 --- a/saltgui/static/scripts/panels/Minions.js +++ b/saltgui/static/scripts/panels/Minions.js @@ -42,7 +42,7 @@ export class MinionsPanel extends Panel { this._handlewheelMinionsConnected(pWheelMinionsConnectedData); return true; }, (getWheelMinionsConnectedMsg) => { - console.log("pWheelMinionsConnectedMsg", pWheelMinionsConnectedMsg); + console.log("getWheelMinionsConnectedMsg", getWheelMinionsConnectedMsg); return false; }); @@ -101,7 +101,7 @@ export class MinionsPanel extends Panel { this.setMsg(txt); } - _handlewheelMinionsConnected(pWheelMinionsConnectedData) { + _handlewheelMinionsConnected (pWheelMinionsConnectedData) { if (this.showErrorRowInstead(pWheelMinionsConnectedData)) { return; } @@ -114,7 +114,9 @@ export class MinionsPanel extends Panel { continue; } const statusTd = tr.querySelector("td.status"); - if(!statusTd) continue; + if (!statusTd) { + continue; + } // this is the initial warning only // it will potentially be replaced by a less aggressive warning // when the grains information is returned