From c979cd564de284619afdab6110e9dc7e9361fef2 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 6bff90c731e..9626bcc47b4 100644 --- a/esp/src/eclwatch/stub.js +++ b/esp/src/eclwatch/stub.js @@ -35,13 +35,13 @@ 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; default: - window.location.replace("/"); + window.location.replace("/esp/files/index.html"); } } else { ready(function () {