diff --git a/lib/galaxy/web/framework/helpers/grids.py b/lib/galaxy/web/framework/helpers/grids.py index 07dbaa79b4f..f5e14226b3b 100644 --- a/lib/galaxy/web/framework/helpers/grids.py +++ b/lib/galaxy/web/framework/helpers/grids.py @@ -768,7 +768,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