From cf15e108dc769948407b6f5593662b8861fbf5c3 Mon Sep 17 00:00:00 2001 From: Aday BA Date: Mon, 25 Nov 2024 16:14:13 +0000 Subject: [PATCH] Fixed globus javascript variable declaration after files/index.js is loaded as module (#3979) --- apps/dashboard/app/javascript/files/globus.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/dashboard/app/javascript/files/globus.js b/apps/dashboard/app/javascript/files/globus.js index 6aa6dede33..71d85c599d 100644 --- a/apps/dashboard/app/javascript/files/globus.js +++ b/apps/dashboard/app/javascript/files/globus.js @@ -27,8 +27,7 @@ export function getGlobusLink(directory) { if (info) { let origin_path = directory.replace(info.path, info.endpoint_path); origin_path = origin_path.replace("//", "/"); - url = "https://app.globus.org/file-manager?origin_id=" + info.endpoint + "&origin_path=" + origin_path; - return url + return "https://app.globus.org/file-manager?origin_id=" + info.endpoint + "&origin_path=" + origin_path; } }