Skip to content

Commit

Permalink
STORM-3958 - Fix JS syntax error in supervisor.html
Browse files Browse the repository at this point in the history
  • Loading branch information
rzo1 committed Nov 14, 2023
1 parent 1834168 commit d640cea
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ <h2 id="worker-resources-header">Worker resources</h2>
});

$.getJSON("/api/v1/cluster/configuration",function(response,status,jqXHR) {
var uiTitle = $("#ui-title");
const uiTitle = $("#ui-title");
setStormUITitle(uiTitle, response);
};
});

$.getJSON(url,function(response,status,jqXHR) {
getStatic("/templates/supervisor-page-template.html", function(template) {
Expand Down

1 comment on commit d640cea

@avermeer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, my bug was on line #119, but indeed changing var to const at line 117 makes sense. I just patched my installation with this fix, and I confirm that supervisors' view is fixed.

Please sign in to comment.