mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
I *think* this should correctly handle both versioned and unversioned matches?
This commit is contained in:
@@ -77,10 +77,9 @@ export function filterTools(layout, results) {
|
||||
function normalize_results(results) {
|
||||
var norm_results = [];
|
||||
results.forEach((result) => {
|
||||
norm_results.push(result);
|
||||
if (result.includes("/repos/")) {
|
||||
norm_results.push(result.split("/")[3]);
|
||||
} else {
|
||||
norm_results.push(result);
|
||||
}
|
||||
});
|
||||
return norm_results;
|
||||
|
||||
Reference in New Issue
Block a user