mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix edge case for workflow mapping handling when tools not available.
Fixes #3960.
This commit is contained in:
@@ -428,9 +428,11 @@ define(['mvc/workflow/workflow-globals'], function( Globals ) {
|
||||
if( ! canMatch ) {
|
||||
for( var collectionTypeIndex in collectionTypes ) {
|
||||
var collectionType = collectionTypes[collectionTypeIndex];
|
||||
var effectiveMapOver = otherCollectionType.effectiveMapOver( collectionType );
|
||||
if( effectiveMapOver != NULL_COLLECTION_TYPE_DESCRIPTION ) {
|
||||
return effectiveMapOver;
|
||||
if( otherCollectionType.canMapOver( collectionType ) ) {
|
||||
var effectiveMapOver = otherCollectionType.effectiveMapOver( collectionType );
|
||||
if( effectiveMapOver != NULL_COLLECTION_TYPE_DESCRIPTION ) {
|
||||
return effectiveMapOver;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user