mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
Correct subset of tool result for matching
This commit is contained in:
@@ -79,7 +79,7 @@ function normalize_results(results) {
|
||||
results.forEach((result) => {
|
||||
norm_results.push(result);
|
||||
if (result.includes("/repos/")) {
|
||||
norm_results.push(result.split("/")[3]);
|
||||
norm_results.push(result.split("/repos/")[1].split("/")[2]);
|
||||
}
|
||||
});
|
||||
return norm_results;
|
||||
|
||||
Reference in New Issue
Block a user