Skip to content

Commit

Permalink
HPCC-30796 ECL Watch fix redirect loop
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Clements <[email protected]>
  • Loading branch information
jeclrsg authored and GordonSmith committed Nov 13, 2023
1 parent 89d307c commit c1281b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions esp/src/eclwatch/stub.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ define([
if (modernMode === String(true) && hpccWidget !== "IFrameWidget") {
switch (hpccWidget) {
case "WUDetailsWidget":
window.location.replace(`/#/workunits/${params.Wuid}`);
window.location.replace(`/esp/files/index.html#/workunits/${params.Wuid}`);
break;
case "GraphsWUWidget":
window.location.replace(`/#/workunits/${params.Wuid}/metrics`);
window.location.replace(`/esp/files/index.html#/workunits/${params.Wuid}/metrics`);
break;
case "TopologyWidget":
case "DiskUsageWidget":
Expand All @@ -49,7 +49,7 @@ define([
loadUI();
break;
default:
window.location.replace("/");
window.location.replace("/esp/files/index.html");
}
} else {
loadUI();
Expand Down

0 comments on commit c1281b3

Please sign in to comment.