From c1281b3f249871450220cc8fc0babacf999a62d2 Mon Sep 17 00:00:00 2001 From: Jeremy Clements <79224539+jeclrsg@users.noreply.github.com> Date: Fri, 10 Nov 2023 17:47:42 -0500 Subject: [PATCH] HPCC-30796 ECL Watch fix redirect loop Signed-off-by: Jeremy Clements <79224539+jeclrsg@users.noreply.github.com> --- esp/src/eclwatch/stub.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/esp/src/eclwatch/stub.js b/esp/src/eclwatch/stub.js index 79fd6b04002..cd91622159f 100644 --- a/esp/src/eclwatch/stub.js +++ b/esp/src/eclwatch/stub.js @@ -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": @@ -49,7 +49,7 @@ define([ loadUI(); break; default: - window.location.replace("/"); + window.location.replace("/esp/files/index.html"); } } else { loadUI();