Skip to content

Commit

Permalink
remove unused this.src
Browse files Browse the repository at this point in the history
  • Loading branch information
klaernie committed Apr 2, 2023
1 parent a24450a commit a8294c6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions MMM-GrafanaChart.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ Module.register("MMM-GrafanaChart", {
Log.error("Tried to refresh, iFrameReload URL not set!");
return;
}
if (this.config.version == "6") {
this.src = "http://" + this.config.host + ":" + this.config.port + "/d-solo/" + this.config.id + "/" + this.config.dashboardname + "?orgId=" + this.config.orgId + "&panelId=" + this.config.panelId + "&from=" + this.config.from + "&to=" + this.config.to + "&fullscreen&kiosk";
} else{
this.src = "http://" + this.config.host + ":" + this.config.port + "/dashboard-solo/db/" + this.config.dashboardname+ "?orgId=" + this.config.orgId + "&panelId=" + this.config.panelId + "&from=" + this.config.from + "&to=" + this.config.to;
}
Log.info("attempting to update dom for iFrameReload");
Log.info('/"this/" module is: ' + this);
this.updateDom(1000);
Expand Down

0 comments on commit a8294c6

Please sign in to comment.