From 5cf55c36bf8d23252c45916af339b778e015c29d Mon Sep 17 00:00:00 2001 From: Aday Bujeda Date: Mon, 25 Nov 2024 15:19:16 +0000 Subject: [PATCH] Fixed globus javascript variable declaration after files/index.js is loaded as module --- 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; } }