Skip to content

Commit

Permalink
Fixed globus javascript variable declaration after files/index.js is …
Browse files Browse the repository at this point in the history
…loaded as module
  • Loading branch information
abujeda committed Nov 25, 2024
1 parent 791d1fb commit 5cf55c3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/dashboard/app/javascript/files/globus.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 5cf55c3

Please sign in to comment.