mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge
This commit is contained in:
@@ -777,7 +777,7 @@ class GridOperation( object ):
|
||||
return dict( operation=self.label, id=item.id )
|
||||
def allowed( self, item ):
|
||||
if self.condition:
|
||||
return self.condition( item )
|
||||
return bool(self.condition( item ))
|
||||
else:
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user